Esempio n. 1
0
        public void GetPasswordStrength_UpperCase_3Points()
        {
            var expected = 3;
            var actual   = PasswordChecker.GetPasswordStrength(Password3point);

            Assert.AreEqual(expected, actual);
        }
Esempio n. 2
0
        public void GetPasswordStrength_ContainsSpecialChar_5Points()
        {
            var expected = 5;
            var actual   = PasswordChecker.GetPasswordStrength(Password5pointSpecialChar);

            Assert.AreEqual(expected, actual);
        }
Esempio n. 3
0
        public void GetPasswordStrength_AllChars_5Points()
        {
            var expected = 5;
            var actual   = PasswordChecker.GetPasswordStrength(Password5point);

            Assert.AreEqual(expected, actual);
        }