public void WhenMinvalueIsNotPresentTheCheckerShouldValidate() { var val = float.MinValue; val = val + 5; var result = new FloatMinValueCheck("").IsValid(val); Assert.IsTrue(result); }
public void WhenMinvalueIsPresentTheCheckerShouldNotValidate() { var result = new FloatMinValueCheck("").IsValid(float.MinValue); Assert.IsTrue(result); }
public void WhenMinvalueIsNullTheCheckerShouldNotValidate() { var result = new FloatMinValueCheck("").IsValid(null); Assert.IsFalse(result); }