test/dijkstra_test.cc
changeset 2247 269a0dcee70b
parent 2135 15355b98fb84
child 2260 4274224f8a7d
     1.1 --- a/test/dijkstra_test.cc	Tue Oct 17 10:42:19 2006 +0000
     1.2 +++ b/test/dijkstra_test.cc	Tue Oct 17 10:50:57 2006 +0000
     1.3 @@ -63,7 +63,7 @@
     1.4    //  pn = dijkstra_test.predNodeMap();
     1.5    b  = dijkstra_test.reached(n);
     1.6  
     1.7 -  DirPath<Graph> pp(G);
     1.8 +  Path<Graph> pp(G);
     1.9    dijkstra_test.getPath(pp,n);
    1.10  }
    1.11  
    1.12 @@ -120,7 +120,7 @@
    1.13    check(dijkstra_test.dist(t)==13,"Dijkstra found a wrong path.");
    1.14  
    1.15  
    1.16 -  DirPath<Graph> p(G);
    1.17 +  Path<Graph> p(G);
    1.18    check(dijkstra_test.getPath(p,t),"getPath() failed to set the path.");
    1.19    check(p.length()==4,"getPath() found a wrong path.");
    1.20