public void Validate_WrongEmail_ReturnFalse() { GeneralValidation val = new GeneralValidation(); string email = "wrong"; Assert.IsFalse(val.IsValidEmail(email)); }
public void Validate_RightEmail_ReturnTrue() { GeneralValidation val = new GeneralValidation(); string email = "*****@*****.**"; Assert.IsTrue(val.IsValidEmail(email)); }