def xxxtest_day20_part2_maze3(): # takes too long assert day20.part2(maze3) == 396
def test_part2(self): input = read_inputfile("example20.txt") self.assertEqual(part2(input), 273)
def test_part2(puzzle_input, answer): assert part2(puzzle_input) == answer
def test_day20_part2_maze1(): assert day20.part2(maze1) == 26
def test_part2_examples(self): got = part2("../../20/input_recursive_396.txt") want = 396 self.assertEqual(got, want)
def test_part2(self): got = part2("../../20/input.txt") want = 5648 self.assertEqual(got, want)
def test_part2_example1(self): result = day20.part2(self.example3) self.assertEqual(396, result)
def test_part2_input(self): result = day20.part2(aoc.read_input('day20.input')) self.assertEqual(5288, result)
def test_day20_part2(): assert day20.part2(day20_example) == 273
def test_20_2_examples(): examples = [] for (inp, out) in examples: assert out == day20.part2(inp)
def test_part2_sample(sample_data): assert part2(sample_data) == 273
def test_part2_input(input_data): assert part2(input_data) == 1989
def test_part2(self): self.assertEqual(1629, part2())