diff -r 741f3108a90f -r e997802b855c src/test/bfs_test.cc --- a/src/test/bfs_test.cc Sat Nov 13 12:24:01 2004 +0000 +++ b/src/test/bfs_test.cc Sat Nov 13 12:53:28 2004 +0000 @@ -83,8 +83,8 @@ for(EdgeIt e(G); e==INVALID; ++e) { - Node u=G.tail(e); - Node v=G.head(e); + Node u=G.source(e); + Node v=G.target(e); check( !bfs_test.reached(u) || (bfs_test.dist(v) > bfs_test.dist(u)+1), "Wrong output."); @@ -94,7 +94,7 @@ check(bfs_test.reached(v),"Each node should be reached."); if ( bfs_test.pred(v)!=INVALID ) { Edge e=bfs_test.pred(v); - Node u=G.tail(e); + Node u=G.source(e); check(u==bfs_test.predNode(v),"Wrong tree."); check(bfs_test.dist(v) - bfs_test.dist(u) == 1, "Wrong distance. Difference: "