コード例 #1
0
 def test_answer_part_a(self):
     result = day18.part_a(util.get_file_contents('day18.txt'))
     self.assertEqual(result, '1061')
コード例 #2
0
 def test_example_a(self, test_input, expected):  # noqa D102
     result = day18.part_a(test_input)
     self.assertEqual(result, expected)
コード例 #3
0
 def test_answer_part_a(self):  # noqa D102
     result = day18.part_a(helpers.get_file_contents('day18.txt'))
     self.assertEqual(result, '606416')
コード例 #4
0
 def test_answer_part_a(self):  # noqa D102
     result = day18.part_a(util.get_file_contents('day18.txt'))
     self.assertEqual(result, '8600')