Skip to content

Commit

Permalink
[monotouch-test] Update setting the default floating point tolerance …
Browse files Browse the repository at this point in the history
…to how it's done in the official NUnitLite.
  • Loading branch information
rolfbjarne committed Jul 22, 2020
1 parent 615377f commit 882e8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/monotouch-test/UIKit/ColorTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ void RoundtripHSBA (UIColor c, bool supported = true)
}

[Test]
[DefaultFloatingPointTolerance (0.00001)]
public void HSBA ()
{
GlobalSettings.DefaultFloatingPointTolerance = 0.00001;
RoundtripHSBA (UIColor.Black);
RoundtripHSBA (UIColor.Blue);
RoundtripHSBA (UIColor.Brown);
Expand Down

0 comments on commit 882e8b2

Please sign in to comment.