diff -r 741f3108a90f -r e997802b855c src/test/dijkstra_test.cc --- a/src/test/dijkstra_test.cc Sat Nov 13 12:24:01 2004 +0000 +++ b/src/test/dijkstra_test.cc Sat Nov 13 12:53:28 2004 +0000 @@ -93,11 +93,11 @@ 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( !dijkstra_test.reached(u) || (dijkstra_test.dist(v) - dijkstra_test.dist(u) <= cap[e]), - "dist(head)-dist(tail)- edge_length= " + "dist(target)-dist(source)- edge_length= " << dijkstra_test.dist(v) - dijkstra_test.dist(u) - cap[e]); } @@ -107,7 +107,7 @@ check(dijkstra_test.reached(v),"Each node should be reached."); if ( dijkstra_test.pred(v)!=INVALID ) { Edge e=dijkstra_test.pred(v); - Node u=G.tail(e); + Node u=G.source(e); check(u==dijkstra_test.predNode(v),"Wrong tree."); check(dijkstra_test.dist(v) - dijkstra_test.dist(u) == cap[e], "Wrong distance! Difference: "