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@")); }
public void TestCalcSafety() { Assert.AreEqual(4, passwordStrength.CalcSafety("1")); Assert.AreEqual(3, passwordStrength.CalcSafety("a")); Assert.AreEqual(46, passwordStrength.CalcSafety("1234qwerr")); }