예제 #1
0
 def test_run14(self):
         inputList = common.loadInput('testInput17.txt', True) 
         testObject = Solution()
         self.assertEqual(206720, testObject.solution(inputList))
예제 #2
0
 def test_run13(self):
         inputList = common.loadInput('testInput16.txt', True) 
         testObject = Solution()
         self.assertEqual(195774, testObject.solution(inputList))     
예제 #3
0
 def test_run7(self):
         #remember to set the assert to the known examples and place the example test into testInput.txt!
         inputList = common.loadInput('testInput10.txt', True) 
         testObject = Solution()
         self.assertEqual(181522, testObject.solution(inputList))
예제 #4
0
 def test_run9(self):
         inputList = common.loadInput('testInput14.txt', True) 
         testObject = Solution()
         self.assertEqual(248848, testObject.solution(inputList))         
예제 #5
0
 def run(self):
     inputList = common.loadInput('input.txt', True)
     print('Advent Day: X')
     self.solution(inputList)