public void Puzzle1Example_CountsPasswordsCorrectly() { var passports = new Passports(Puzzle1Example); passports.Should().HaveCount(4); passports.Where(x => x.HasRequiredFields).Should().HaveCount(2); }
public void Puzzle2_CountPassportsWithValidValues_StillIgnoringCountryId() { var passports = new Passports(Input.Day04); passports.Where(x => x.HasValidValues).Should().HaveCount(123); }
public void Puzzle1_CountValidPassports_IgnoringCountryId() { var passports = new Passports(Input.Day04); passports.Where(x => x.HasRequiredFields).Should().HaveCount(206); }