public void AssertLessThanOnGreaterOrEqualShortThrowsArgumentOutOfRangeException(short sut, short value) { var ex = Assert.Throws <ArgumentOutOfRangeException>(() => sut.AssertLessThan(value, "sut")); Assert.Equal("sut", ex.ParamName); Assert.Equal(sut, ex.ActualValue); Assert.NotNull(ex.Message); }
public void AssertLessThanOnLesserShortDoesNotThrowException() { short sut = 0; sut.AssertLessThan(1, "sut"); }