Example #1
0
 public static int SolveFromInputFile(string inputFile)
 {
     return(Solve(PasswordPolicy.FromInputLines(File.ReadAllLines(inputFile))));
 }
Example #2
0
 public void TestProduct(string input, int expectedValue)
 {
     Assert.Equal(expectedValue, Solution.Solve(PasswordPolicy.FromInputLines(input.Split(','))));
 }