Пример #1
0
 def test_answer_part_b(self):
     result = day06.part_b(util.get_file_contents('day06.txt'))
     self.assertEqual(result, '1037')
Пример #2
0
 def test_answer_part_b(self): # noqa D102
     result = day06.part_b(helpers.get_file_contents('day06.txt'))
     self.assertEqual(result, '50530')
Пример #3
0
 def test_example_b(self, test_input, expected):
     result = day06.part_b(test_input)
     self.assertEqual(result, expected)
Пример #4
0
 def test_example_b(self, test_input, expected): # noqa D102
     result = day06.part_b(test_input, 32)
     self.assertEqual(result, expected)