public void IsGreaterDoubleThanShouldNotRaiseExceptionIfGreaterThan() { var foo = 5; var result = AssertArg.IsGreaterThan(1, foo, nameof(foo)); Assert.AreEqual(foo, result); }
public void IsGreaterIntThanShouldRaiseExceptionIfEqual() { AssertArg.IsGreaterThan(1, 1, "None"); }
public void IsGreaterDoubleThanShouldRaiseExceptionIfEqual() { AssertArg.IsGreaterThan(1.0, 1.0, "None"); }
public void IsGreaterIntThanShouldRaiseExceptionIfLessThan() { AssertArg.IsGreaterThan(1, 0, "None"); }