public void Should_GetNumberOfValidPasswords(List <PasswordPolicyDay2b> passwordPolicies, int expected)
        {
            var solver = new PuzzleSolverDay2b();
            var result = solver.GetNumberOfValidPasswords(passwordPolicies);

            Assert.Equal(expected, result);
        }
        public void ShouldNot_GetNumberOfValidPasswords_IndexOutO(List <PasswordPolicyDay2b> passwordPolicies)
        {
            var solver = new PuzzleSolverDay2b();

            Assert.Throws <ArgumentOutOfRangeException>(() => solver.GetNumberOfValidPasswords(passwordPolicies));
        }