10 references to ComparisonHelpers
System.Private.Windows.Core.TestUtilities (1)
XUnit\FloatingPointToleranceComparerer.cs (1)
19
public bool Equals(T x, T y) =>
ComparisonHelpers
.EqualsFloating(x, y, _tolerance);
System.Windows.Forms.Primitives.TestUtilities (7)
Extensions\AssertExtensions.cs (1)
580
if (!
ComparisonHelpers
.EqualsFloating(expected, actual, variance))
FluentAssertions\FluentAssertExtensions.cs (6)
60
ComparisonHelpers
.EqualsFloating(expected.X, actual.X, precision)
61
&&
ComparisonHelpers
.EqualsFloating(expected.Y, actual.Y, precision)
62
&&
ComparisonHelpers
.EqualsFloating(expected.Width, actual.Width, precision)
63
&&
ComparisonHelpers
.EqualsFloating(expected.Height, actual.Height, precision),
99
ComparisonHelpers
.EqualsFloating(expected.X, actual.X, precision)
100
&&
ComparisonHelpers
.EqualsFloating(expected.Y, actual.Y, precision),
System.Windows.Forms.Primitives.TestUtilities.Tests (2)
ComparisonHelpersTests.cs (2)
20
Assert.Equal(expected,
ComparisonHelpers
.EqualsInteger(x, y, tolerance));
35
Assert.Equal(expected,
ComparisonHelpers
.EqualsFloating(x, y, tolerance));