Example #1
0
 public void PasswordScoreReturnVeryStrongTest()
 {
     Assert.AreEqual(PasswordScore.VeryStrong, PasswordForce.CheckStrength("kIq;aU7.0@*.@\\qz~"));
 }
Example #2
0
 public void PasswordScoreReturnStrongTest()
 {
     Assert.AreEqual(PasswordScore.Strong, PasswordForce.CheckStrength("dV9pc!y1"));
 }
Example #3
0
 public void PasswordScoreReturnMeduimTest()
 {
     Assert.AreEqual(PasswordScore.Medium, PasswordForce.CheckStrength("dV9zfpcy1"));
 }
Example #4
0
 public void PasswordScoreReturnWeekTest()
 {
     Assert.AreEqual(PasswordScore.Weak, PasswordForce.CheckStrength("xceov7xpr"));
 }
Example #5
0
 public void PasswordScoreReturnVeryWeekTest()
 {
     Assert.AreEqual(PasswordScore.VeryWeak, PasswordForce.CheckStrength("dvz5"));
 }
Example #6
0
 public void PasswordScoreReturnBlankTest()
 {
     Assert.AreEqual(PasswordScore.Blank, PasswordForce.CheckStrength(""));
 }