Skip to content

Commit

Permalink
Fixed IsCloseTo tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Mar 13, 2020
1 parent de701b6 commit 51b45e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UnitTests/Diagnostics/Test_Guard.Comparable.Numeric.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public void Test_Guard_IsCloseToInt_Ok()
[SuppressMessage("StyleCop.CSharp.SpacingRules", "SA1000", Justification = "Value tuple")]
public void Test_Guard_IsCloseToInt_Fail()
{
foreach (var item in new (int Value, int Target, int Delta)[]
foreach (var item in new (int Value, int Target, uint Delta)[]
{
(0, 20, 10),
(0, 6, 5),
Expand Down Expand Up @@ -78,7 +78,7 @@ public void Test_Guard_IsCloseToFloat_Fail()
(0, float.MaxValue, 500),
(-500, -530, 10),
(1000, 800, 100),
(float.MaxValue, float.MaxValue - 10, 7),
(float.MaxValue, float.MaxValue / 2, 7),
(float.MinValue, float.MaxValue, float.MaxValue)
})
{
Expand Down

0 comments on commit 51b45e2

Please sign in to comment.