public override Day Run() { dayOfMonth = 4; stopwatch.Start(); answer_part1 = Passport.CheckPassportsFromFile("input/day4.txt").ToString(); answer_part2 = Passport.ValidatePassportsFromFile("input/day4.txt").ToString(); return(this); }
public void TestPassportsFromFile() { Assert.Equal(2, Passport.CheckPassportsFromFile("input/day4.txt")); }