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