Exemple #1
0
    def test_challenge(self):
        input_filename = "challenge_input.txt"
        my_answer = 164012

        closest_point = challenge.process_inputfile(input_filename)
        self.assertEqual(my_answer, closest_point)
Exemple #2
0
    def test_challenge(self):
        input_filename = "challenge_input.txt"
        my_answer = 11590668

        result = challenge.process_inputfile(input_filename)
        self.assertEqual(my_answer, result)
Exemple #3
0
    def test_challenge(self):
        input_filename = "challenge_input.txt"
        my_answer = 120

        closest_point = challenge.process_inputfile(input_filename)
        self.assertEqual(my_answer, closest_point.manhattan_distance())