예제 #1
0
 def test_part2_input(self):
     distance = day23.part2(aoc.read_input('day23.input'))
     self.assertEqual(111227643, distance)
예제 #2
0
 def test_part2_input(self):
     result = day23.part2(aoc.read_input('day23.input'))
     self.assertEqual(16658, result)
예제 #3
0
 def test_part2_example1(self):
     distance = day23.part2(self.example_input2)
     self.assertEqual(36, distance)
예제 #4
0
def test_day23_part2():
    assert day23.part2('389125467') == 149245887792
예제 #5
0
def test_23_2_examples():
    examples = []
    for (inp, out) in examples:
        assert out == day23.part2(inp)
예제 #6
0
def test_part2(puzzle_input, answer):
    assert part2(puzzle_input) == answer
def test_part2_input():
    assert part2('784235916') == 418819514477
def test_part2_sample():
    assert part2('389125467') == 149245887792