def test_part1(self): inputs = ["abcdef", "pqrstuv"] outputs = [609043, 1048970] for input, output in zip(inputs, outputs): self.assertEqual(Day04.solve_part1(input), output)
def test_part1(self): self.assertEqual(Day04.solve_part1(self.input),1514)
def test_part1(self): input = Day04().read_file("tests/test_day04.1.txt") self.assertEqual(Day04.solve_part1(input), 2)