示例#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')