Esempio n. 1
0
 public void CalculateByNumbers()
 {
     Assert.AreEqual(0, PasswordStrengthLib.CalculateByNumbers("132ab"));
 }
Esempio n. 2
0
 public void CalculateByNumbers()
 {
     Assert.AreEqual(-1, PasswordStrengthLib.CalculateByNumbers("1"));
     Assert.AreEqual(-4, PasswordStrengthLib.CalculateByNumbers("1123"));
 }
Esempio n. 3
0
 public void CalculateByNumbers()
 {
     Assert.AreEqual(8, PasswordStrengthLib.CalculateByNumbers("Ag1B2"));
     Assert.AreEqual(0, PasswordStrengthLib.CalculateByNumbers("qwe"));
 }