4 references to IfLessThan
Shared.Tests (4)
Throw\LongTests.cs (4)
190var exception = Assert.Throws<ArgumentOutOfRangeException>(() => Throw.IfLessThan(0UL, 1UL, "paramName")); 198var exception = Record.Exception(() => Throw.IfLessThan(0UL, 0UL, "paramName")); 308var exceptionImplicitArgumentName = Record.Exception(() => Throw.IfLessThan(Zero, 1UL)); 310var exceptionExplicitArgumentName = Record.Exception(() => Throw.IfLessThan(Zero, 1UL, nameof(Zero)));