def test_part2_input(self): distance = day24.part2(aoc.read_input('day24.input')) self.assertEqual(4428, distance)
def test_day24_part2(): assert day24.part2('''....# #..#. #..## ..#.. #....''', 10) == 99
def test_part2_example1(self): distance = day24.part2(self.example_input1) self.assertEqual(51, distance)
def test_part2_input(input_data): assert part2(input_data) == 4214
def test_part2_input(self): result = day24.part2(aoc.read_input('day24.input')) self.assertEqual(1995, result)
def test_part2_sample(sample_data): assert part2(sample_data) == 2208
def test_day24_part2(): assert day24.part2(day24_example) == 2208
def test_24_2_examples(): examples = [] for (inp, out) in examples: assert out == day24.part2(inp)
def test_part2(puzzle_input, answer): assert part2(puzzle_input) == answer
def test_part2(self): input = read_inputfile("example24.txt") self.assertEqual(part2(input), 2208)