public void isValidEmail_cacahuetteAchocolat() { bool result = RegexFunction.isValidEmail("cacahuette@chocolat"); Assert.AreEqual(false, result); }
public void isValidEmail_cacahuetteAchocolatcom() { bool result = RegexFunction.isValidEmail("*****@*****.**"); Assert.AreEqual(true, result); }