Exemplo n.º 1
0
 public void TestCalcSafety()
 {
     Assert.AreEqual(4, passwordStrength.CalcSafety("1"));
     Assert.AreEqual(3, passwordStrength.CalcSafety("c"));
     Assert.AreEqual(46, passwordStrength.CalcSafety("1234asdff"));
     Assert.AreEqual(70, passwordStrength.CalcSafety("732628jdshhsa@"));
 }
Exemplo n.º 2
0
 public void TestCalcSafety()
 {
     Assert.AreEqual(4, passwordStrength.CalcSafety("1"));
     Assert.AreEqual(3, passwordStrength.CalcSafety("a"));
     Assert.AreEqual(46, passwordStrength.CalcSafety("1234qwerr"));
 }