public void Test3() { score = objPasswordChecker.CheckStrength("Password12$3"); pRank = (PasswordRank)score; if (pRank == PasswordRank.VeryStrong) { Assert.Pass(); } else { Assert.Fail(); } }
public void Test1() { score = objPasswordChecker.CheckStrength("1"); pRank = (PasswordRank)score; if (pRank == PasswordRank.VeryWeak) { Assert.Pass(); } else { Assert.Fail(); } }