Exemplo n.º 1
0
        public void FindAnswerDayTwoPuzzleOne()
        {
            List <PasswordPolicy> passwordList = PasswordPolicy.GetInputData();

            int numberOfValidPasswords = PasswordPolicy.CountValidPasswords(passwordList);

            Console.WriteLine(numberOfValidPasswords);
        }
Exemplo n.º 2
0
        public void TestGetInputData()
        {
            List <PasswordPolicy> passwordList = PasswordPolicy.GetInputData();

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