Пример #1
0
        public void FindAnswerDayTwoPuzzleOne()
        {
            List <PasswordPolicy> passwordList = PasswordPolicy.GetInputData();

            int numberOfValidPasswords = PasswordPolicy.CountValidPasswords(passwordList);

            Console.WriteLine(numberOfValidPasswords);
        }
Пример #2
0
        public void TestGetInputData()
        {
            List <PasswordPolicy> passwordList = PasswordPolicy.GetInputData();

            Assert.AreEqual(1000, passwordList.Count());
        }