def test_part2_sample(sample_data):
    assert part2(sample_data) == 0
Example #2
0
 def test_part2_input(self):
     result = day17.part2(aoc.read_input('day17.input'))
     self.assertEqual(43039, result)
def test_part2_input(input_data):
    assert part2(input_data) == 0
Example #4
0
 def test_part2_example(self):
     result = day17.part2(self.example_input)
     self.assertEqual(29, result)
Example #5
0
def test_part2(puzzle_input, answer):
    assert part2(puzzle_input) == answer
Example #6
0
def test_day17_part2():
    assert day17.part2(day17_example) == 848
def test_17_2_examples():
    examples = []
    for (inp, out) in examples:
        assert out == day17.part2(inp)
Example #8
0
 def test_example_part2(self):
     input = [".#.", "..#", "###"]
     self.assertEqual(part2(input), 848)