public void Validate_Exclusive_fail3 () { IntegerValidator v = new IntegerValidator (5000, 10000, true); v.Validate (7000); }
public void Validate_inRange () { IntegerValidator v = new IntegerValidator (5000, 10000); v.Validate (7000); }
public void Validate_Inclusive () { IntegerValidator v = new IntegerValidator (5000, 10000, false); v.Validate (5000); v.Validate (10000); }
public void Validate_Resolution () { IntegerValidator v = new IntegerValidator (20000, 50000, false, 3000); v.Validate (40000); }