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