def test_advent_puzzle(self): advent_graph = day9.map_distances(day9.INPUT_STRING) result_path, result_dist = day9.get_shortest_complete_path(advent_graph) print result_path print result_dist
def test_gets_shortest_path(self): result_path, result_dist = day9.get_shortest_complete_path(self.graph) self.assertEqual(8, result_dist)