Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Unit Tests #149

Merged
merged 1 commit into from
Jun 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
160 changes: 79 additions & 81 deletions Tests/NFUnitTestArithmetic/UnitTestArithmeticTest1.cs

Large diffs are not rendered by default.

200 changes: 100 additions & 100 deletions Tests/NFUnitTestArithmetic/UnitTestArithmeticTest2.cs

Large diffs are not rendered by default.

872 changes: 436 additions & 436 deletions Tests/NFUnitTestArithmetic/UnitTestExpressionTests.cs

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions Tests/NFUnitTestArithmetic/UnitTestFormat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -459,10 +459,10 @@ public void WriteOutput()
{
if (GetColumnInfo((ColumnType)i).DefaultOnly == false)
{
Debug.Write(GetColumnInfo((ColumnType)i).ColumnHeader.PadLeft(GetColumnInfo((ColumnType)i).LargestLength + 1)); // +1 for an extra space between columns
OutputHelper.Write(GetColumnInfo((ColumnType)i).ColumnHeader.PadLeft(GetColumnInfo((ColumnType)i).LargestLength + 1)); // +1 for an extra space between columns
}
}
Debug.WriteLine(""); // complete the line
OutputHelper.WriteLine(""); // complete the line

// now write out the row data
for (int i = 0; i < m_rows.Count; i++)
Expand All @@ -478,14 +478,14 @@ public void WriteOutput()
// Right align the format string column, left align all the others
if (j == (int)ColumnType.FormatString)
{
Debug.Write(" " + rd.ColumnData[j].PadRight(GetColumnInfo((ColumnType)j).LargestLength)); // add " "for an extra space between columns
OutputHelper.Write(" " + rd.ColumnData[j].PadRight(GetColumnInfo((ColumnType)j).LargestLength)); // add " "for an extra space between columns
}
else
{
Debug.Write(rd.ColumnData[j].PadLeft(GetColumnInfo((ColumnType)j).LargestLength + 1)); // +1 for an extra space between columns
OutputHelper.Write(rd.ColumnData[j].PadLeft(GetColumnInfo((ColumnType)j).LargestLength + 1)); // +1 for an extra space between columns
}
}
Debug.WriteLine(""); // complete the line
OutputHelper.WriteLine(""); // complete the line
}

}
Expand Down
Loading