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