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