4 references to IfLessThanOrEqual
Shared.Tests (4)
Throw\LongTests.cs (4)
220
var exception = Assert.Throws<ArgumentOutOfRangeException>(() => Throw.
IfLessThanOrEqual
(1UL, 1UL, "paramName"));
228
var exception = Record.Exception(() => Throw.
IfLessThanOrEqual
(1UL, 0UL, "paramName"));
321
var exceptionImplicitArgumentName = Record.Exception(() => Throw.
IfLessThanOrEqual
(Zero, 1UL));
323
var exceptionExplicitArgumentName = Record.Exception(() => Throw.
IfLessThanOrEqual
(Zero, 1UL, nameof(Zero)));