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