Exemple #1
0
 def test_answer_part_a(self):  # noqa D102
     result = day19.part_a(util.get_file_contents('day19.txt'))
     self.assertEqual(result, 'FEZDNIVJWT')
Exemple #2
0
 def test_answer_part_a(self):
     result = day19.part_a(util.get_file_contents('day19.txt'))
     self.assertEqual(result, '576')
Exemple #3
0
 def test_example_a(self, test_input, expected):  # noqa D102
     result = day19.part_a(test_input)
     self.assertEqual(result, expected)
Exemple #4
0
 def test_answer_part_a(self): # noqa D102
     result = day19.part_a(helpers.get_file_contents('day19.txt'), optimize=True)
     self.assertEqual(result, '1728')