src/test/path_test.cc
changeset 986 e997802b855c
parent 959 c80ef5912903
child 990 407e4d47fdd3
     1.1 --- a/src/test/path_test.cc	Sat Nov 13 12:24:01 2004 +0000
     1.2 +++ b/src/test/path_test.cc	Sat Nov 13 12:53:28 2004 +0000
     1.3 @@ -47,13 +47,13 @@
     1.4    b=P.empty();                    //bool empty() const {}
     1.5    P.clear();                      //void clear() {}
     1.6  
     1.7 -  gn=P.head();                    //GraphNode/*It*/ head() const {return INVALID;}
     1.8 -  gn=P.tail();                    //GraphNode/*It*/ tail() const {return INVALID;}
     1.9 +  gn=P.target();                    //GraphNode/*It*/ target() const {return INVALID;}
    1.10 +  gn=P.source();                    //GraphNode/*It*/ source() const {return INVALID;}
    1.11  
    1.12    ei=P.first(ei);                 //It& first(It &i) const { return i=It(*this); }
    1.13  
    1.14 -  ni=P.head(ei);                  //NodeIt head(const EdgeIt& e) const {}
    1.15 -  ni=P.tail(ei);                  //NodeIt tail(const EdgeIt& e) const {}
    1.16 +  ni=P.target(ei);                  //NodeIt target(const EdgeIt& e) const {}
    1.17 +  ni=P.source(ei);                  //NodeIt source(const EdgeIt& e) const {}
    1.18  
    1.19  
    1.20    ListGraph lg;