Exemple #1
0
 def test_part_1(self):
     self.assertEqual(script1.compute(test_file1), (7,3))
Exemple #2
0
 def test_part_1(self):
     self.assertEqual(script1.compute(test_file), 114)
Exemple #3
0
 def test_part_1(self):
     self.assertEqual(script1.compute(TEST_FILE), 240)
Exemple #4
0
 def test_part_1(self):
     self.assertEqual(script1.compute(test_file1), 23)
     self.assertEqual(script1.compute(test_file2), 31)
Exemple #5
0
 def test_1(self):
     self.assertEqual(script1.compute(TEST_FILE), 'CABDFE')
Exemple #6
0
 def test_part_1(self):
     self.assertEqual(script1.compute(2018), '5941429882')