src/test/graph_test.h
changeset 986 e997802b855c
parent 946 c94ef40a22ce
child 1164 80bb73097736
     1.1 --- a/src/test/graph_test.h	Sat Nov 13 12:24:01 2004 +0000
     1.2 +++ b/src/test/graph_test.h	Sat Nov 13 12:53:28 2004 +0000
     1.3 @@ -53,7 +53,7 @@
     1.4      typename Graph::OutEdgeIt e(G,n);
     1.5      for(int i=0;i<nn;i++) {
     1.6        check(e!=INVALID,"Wrong OutEdge list linking.");
     1.7 -      check(n==G.tail(e), "Wrong OutEdge list linking.");
     1.8 +      check(n==G.source(e), "Wrong OutEdge list linking.");
     1.9        ++e;
    1.10      }
    1.11      check(e==INVALID,"Wrong OutEdge list linking.");
    1.12 @@ -65,7 +65,7 @@
    1.13      typename Graph::InEdgeIt e(G,n);
    1.14      for(int i=0;i<nn;i++) {
    1.15        check(e!=INVALID,"Wrong InEdge list linking.");
    1.16 -      check(n==G.head(e), "Wrong InEdge list linking.");
    1.17 +      check(n==G.target(e), "Wrong InEdge list linking.");
    1.18        ++e;
    1.19      }
    1.20      check(e==INVALID,"Wrong InEdge list linking.");
    1.21 @@ -81,7 +81,7 @@
    1.22    }
    1.23  
    1.24    ///\file
    1.25 -  ///\todo Check head(), tail() as well;
    1.26 +  ///\todo Check target(), source() as well;
    1.27  
    1.28    
    1.29  } //namespace lemon