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