def test_example_b(self, test_input, expected): # noqa D102 result = day04.part_b(test_input) self.assertEqual(result, expected)
def test_answer_part_b(self): # noqa D102 result = day04.part_b(helpers.get_file_contents('day04.txt')) self.assertEqual(result, '23037')
def test_answer_part_b(self): result = day04.part_b(util.get_file_contents('day04.txt')) self.assertEqual(result, '265')