4 references to IfLessThan
Shared.Tests (4)
Throw\LongTests.cs (4)
18
var exception = Assert.Throws<ArgumentOutOfRangeException>(() => Throw.
IfLessThan
(0L, 1L, "paramName"));
26
var exception = Record.Exception(() => Throw.
IfLessThan
(0L, 0L, "paramName"));
136
var exceptionImplicitArgumentName = Record.Exception(() => Throw.
IfLessThan
(Zero, 1));
138
var exceptionExplicitArgumentName = Record.Exception(() => Throw.
IfLessThan
(Zero, 1, nameof(Zero)));