public void Checker_When_k_return_strong() { string input = "&*%93k$"; string output = PasswordStrengthChecker.Checker(input); Assert.AreEqual("El password es fuerte (strong)", output); }
public void Checker_When_NoDigitAndLength_return_weak() { string input = "mm%$"; string output = PasswordStrengthChecker.Checker(input); Assert.AreEqual("El password es debil (weak)", output); }
public void Checker_When_NoChar_return_weak() { string input = "9999389483938"; string output = PasswordStrengthChecker.Checker(input); Assert.AreEqual("El password es debil (weak)", output); }
public void Checker_When_Empty_return_weakAndEmpty() { string input = ""; string output = PasswordStrengthChecker.Checker(input); Assert.AreEqual("El password es débil (weak). La entrada está vacía", output); }
public void Checker_When_NoDigit_return_weak() { string input = "MJkUIsmoighoklndf"; string output = PasswordStrengthChecker.Checker(input); Assert.AreEqual("El password es debil (weak)", output); }
public void Checker_When_LengthGreater7_return_strong() { string input = "*/****-++sdfiM9083"; string output = PasswordStrengthChecker.Checker(input); Assert.AreEqual("El password es fuerte (strong)", output); }