Esempio n. 1
0
        public string GetSolution()
        {
            var passwords         = _inputService.GetInput(resourceLocation);
            var passwordValidator = new PasswordValidator202002();
            var result            = 0;

            foreach (var password in passwords)
            {
                if (passwordValidator.IsValid(password))
                {
                    result += 1;
                }
            }

            return($"{result}");
        }
 public void SetUp()
 {
     _sut = new PasswordValidator202002();
 }