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