Example #1
0
 def test_sample_final_part_1(self):
     mydata = load_puzzle('../data/puzzle-01/',
                          'aoc-2019_puzzle-01_input.txt')  # puzzle input
     t = solve_puzzle(mydata)
     assert t == 3406432
Example #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
Example #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 == 33583