Ejemplo n.º 1
0
 def test_find_shortest_path(self):
     gp = Graph()
     self.assertEquals(gp.find_shortest_path(gp.test_graph, 'A', 'D'), ['A', 'B', 'D'])