Example #1
0
 def test_answer_part_b(self):
     result = day22.part_b(util.get_file_contents('day22.txt'))
     self.assertEqual(result, '1309')
Example #2
0
 def test_example_b(self, test_input, expected):  # noqa D102
     result = day22.part_b(test_input)
     self.assertEqual(result, expected)
Example #3
0
 def test_answer_part_b(self):  # noqa D102
     result = day22.part_b(helpers.get_file_contents('day22.txt'))
     self.assertEqual(result, '1092')
Example #4
0
 def test_answer_part_b(self):  # noqa D102
     result = day22.part_b(util.get_file_contents('day22.txt'))
     self.assertEqual(result, '2512144')