10 references to Equal
Microsoft.DotNet.XUnitAssert.Tests (8)
EqualityAssertsTests.cs (8)
2221
var ex = Record.Exception(() => Assert.
Equal
(0.0f, 1.0f, float.NegativeInfinity));
2231
Assert.
Equal
(10.569f, 10.562f, 0.01f);
2241
var ex = Record.Exception(() => Assert.
Equal
(0.11113f, 0.11115f, 0.00001f));
2255
Assert.
Equal
(float.NaN, float.NaN, 1000.0f);
2265
var ex = Record.Exception(() => Assert.
Equal
(20210102.2208f, float.NaN, 20000000.0f));
2279
Assert.
Equal
(float.MinValue, float.MaxValue, float.PositiveInfinity);
2289
var ex = Record.Exception(() => Assert.
Equal
(float.PositiveInfinity, 77.7f, 1.0f));
2307
var ex = Record.Exception(() => Assert.
Equal
(0.0f, float.NegativeInfinity, 1.0f));
System.Windows.Forms.Tests (2)
System\Windows\Forms\RichTextBoxTests.cs (2)
7784
Assert.
Equal
(expected, control.ZoomFactor, 2f);
7789
Assert.
Equal
(expected, control.ZoomFactor, 2f);