File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/com/jwetherell/algorithms/graph/test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -372,13 +372,13 @@ public void testDijstraUndirected() {
372372 for (Graph .Vertex <Integer > v : map1 .keySet ()) {
373373 final Graph .CostPathPair <Integer > path1 = map1 .get (v );
374374 final Graph .CostPathPair <Integer > path2 = getIdealUndirectedPath (undirected ).get (v );
375- assertTrue ("Dijstra 's shortest path error. path1=" +path1 +" path2=" +path2 , path1 .equals (path2 ));
375+ assertTrue ("Dijkstra 's shortest path error. path1=" +path1 +" path2=" +path2 , path1 .equals (path2 ));
376376 }
377377
378378 final Graph .CostPathPair <Integer > pair1 = Dijkstra .getShortestPath (undirected .graph , start , end );
379379 assertTrue ("No path from " + start .getValue () + " to " + end .getValue (), (pair1 != null ));
380380
381- assertTrue ("Dijstra 's shortest path error. pair=" +pair1 +" pair=" +getIdealUndirectedPathPair (undirected ), pair1 .equals (getIdealUndirectedPathPair (undirected )));
381+ assertTrue ("Dijkstra 's shortest path error. pair=" +pair1 +" pair=" +getIdealUndirectedPathPair (undirected ), pair1 .equals (getIdealUndirectedPathPair (undirected )));
382382 }
383383 }
384384
You can’t perform that action at this time.
0 commit comments