Beispiel #1
0
 def test_sample_final_part_2(self):
     mydata = load_puzzle('../data/puzzle-01/',
                          'aoc-2019_puzzle-01_input.txt')  # puzzle input
     t = solve_puzzle(mydata)
     assert t == 5106777
Beispiel #2
0
 def test_sample_00(self):
     mydata = load_puzzle('../data/puzzle-01/',
                          'aoc-2019_puzzle-01_input_test-0.txt')  # 12
     t = solve_puzzle(mydata)
     assert t == 2
Beispiel #3
0
 def test_sample_03(self):
     mydata = load_puzzle('../data/puzzle-01/',
                          'aoc-2019_puzzle-01_input_test-3.txt')  # 100756
     t = solve_puzzle(mydata)
     assert t == 50346