Skip to content

Commit

Permalink
.NET: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
agdavydov81 committed Apr 5, 2024
1 parent 5d63802 commit 38839f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions csharp/EPAM.Deltix.DFP.Test/Decimal64Test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1254,17 +1254,17 @@ public void Issue91ToFloatString()
foreach(var testCase in testCases)
{
var testValue = testCase.TestValue;
Assert.Equals(testCase.NormalOut, testValue.ToString());
Assert.Equals(testCase.FloatOut, testValue.ToFloatString());
Assert.AreEqual(testCase.NormalOut, testValue.ToString());
Assert.AreEqual(testCase.FloatOut, testValue.ToFloatString());

{
var sb = new StringBuilder();
Assert.Equals(testCase.NormalOut, testValue.AppendTo(sb).ToString());
Assert.AreEqual(testCase.NormalOut, testValue.AppendTo(sb).ToString());
}

{
var sb = new StringBuilder();
Assert.Equals(testCase.FloatOut, testValue.FloatAppendTo(sb).ToString());
Assert.AreEqual(testCase.FloatOut, testValue.FloatAppendTo(sb).ToString());
}
}
}
Expand Down

0 comments on commit 38839f1

Please sign in to comment.