def test_day9_part_1(): number_list = [int(i) for i in input_data] test_number_list = [int(i) for i in test_input_data] assert day9.part1(test_number_list, 5) == (127) assert day9.part1(number_list, 25) == (1124361034)
def test_day9_part1(): data = int_array_from_list("9.txt", test=True) assert day9.part1(data, 5) == 127
def test_part1(self): self.assertEqual(257342611, part1())
def test_part1(): assert part1(test_input) == 15
def test_part1_example(self): self.assertEqual( 127, day9.part1("../inputs/day9_example.txt", 5) )
def test_part1(self): self.assertEqual( 90433990, day9.part1("../inputs/day9.txt", 25) )