public void NegativeNumberError() { var validator = new PositivePrimeNumberValidator(); var result = validator.Validate(Constants.NegativeNumber); Assert.True(!result.IsValid); }
public void PositiveNumberSuccessful() { var validator = new PositivePrimeNumberValidator(); var result = validator.Validate(Constants.PositiveNumber); Assert.True(result.IsValid); }