1 instantiation of InRangeException
xunit.assert (1)
RangeAsserts.cs (1)
51 throw new InRangeException(actual, low, high);
8 references to InRangeException
Microsoft.DotNet.XUnitAssert.Tests (5)
RangeAssertsTests.cs (5)
12 Assert.Throws<InRangeException>(() => Assert.InRange(1.50, .75, 1.25)); 24 Assert.Throws<InRangeException>(() => Assert.InRange(0, 1, 2)); 30 Assert.Throws<InRangeException>(() => Assert.InRange(2, 0, 1)); 42 Assert.Throws<InRangeException>(() => Assert.InRange("adam", "bob", "scott")); 63 Assert.Throws<InRangeException>(() => Assert.InRange(1.0, .75, 1.25, new DoubleComparer(1)));
xunit.assert (3)
RangeAsserts.cs (2)
25 /// <exception cref="InRangeException">Thrown when the value is not in the given range</exception> 41 /// <exception cref="InRangeException">Thrown when the value is not in the given range</exception>
Sdk\Exceptions\InRangeException.cs (1)
18 /// Creates a new instance of the <see cref="InRangeException"/> class.