Beispiel #1
0
 def test_mock_3(self):
     self.assertEqual(part1(MOCK_3), 9)
Beispiel #2
0
 def test_mock_2(self):
     self.assertEqual(part1(MOCK_2), 9)
Beispiel #3
0
 def test_example_1(self):
     self.assertEqual(part1(EXAMPLE), 5)
Beispiel #4
0
 def test_mock_1(self):
     self.assertEqual(part1(MOCK_1), 10)
Beispiel #5
0
 def test_input(self):
     self.assertEqual(part1(get_input(2017, 5)), 325922)