def test_answer_part_a(self): result = day22.part_a(util.get_file_contents('day22.txt')) self.assertEqual(result, '1269')
def test_example_a(self, test_input, expected): # noqa D102 result = day22.part_a(test_input) self.assertEqual(result, expected)
def test_answer_part_a(self): # noqa D102 result = day22.part_a(helpers.get_file_contents('day22.txt')) self.assertEqual(result, '11972')
def test_answer_part_a(self): # noqa D102 result = day22.part_a(util.get_file_contents('day22.txt')) self.assertEqual(result, '5240')