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

            pRank = (PasswordRank)score;

            if (pRank == PasswordRank.VeryWeak)
            {
                Assert.Pass();
            }
            else
            {
                Assert.Fail();
            }
        }