Example #1
0
 public void TestGetSafetyByDigitsCount()
 {
     Assert.AreEqual(0, passwordStrength.GetSafetyByDigitsCount("a"));
     Assert.AreEqual(1, passwordStrength.GetSafetyByDigitsCount("1"));
     Assert.AreEqual(2, passwordStrength.GetSafetyByDigitsCount("11"));
 }