Changeset 986:e997802b855c in lemon-0.x for src/work/peter/path/path_test.cc
- Timestamp:
- 11/13/04 13:53:28 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1376
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/peter/path/path_test.cc
r959 r986 67 67 68 68 #ifdef SKELETON 69 cout << "P. tail() valid? " << (P.tail()!=INVALID) << endl;70 check(! (P. tail()!=INVALID));69 cout << "P.source() valid? " << (P.source()!=INVALID) << endl; 70 check(! (P.source()!=INVALID)); 71 71 #else 72 cout << "P. tail() valid? " << (P.from()!=INVALID) << endl;72 cout << "P.source() valid? " << (P.from()!=INVALID) << endl; 73 73 check(! (P.to()!=INVALID)); 74 74 #endif … … 90 90 91 91 #ifdef SKELETON 92 cout << "P. tail() valid? " << (P.tail()!=INVALID) << endl;93 check(P. tail()!=INVALID);94 cout << "P. tail()==v1 ? " << (P.tail()==v1) << endl;95 check(P. tail() == v1);92 cout << "P.source() valid? " << (P.source()!=INVALID) << endl; 93 check(P.source()!=INVALID); 94 cout << "P.source()==v1 ? " << (P.source()==v1) << endl; 95 check(P.source() == v1); 96 96 #else 97 cout << "P. tail() valid? " << (P.from()!=INVALID) << endl;97 cout << "P.source() valid? " << (P.from()!=INVALID) << endl; 98 98 check(P.from()!=INVALID); 99 cout << "P. tail()==v1 ? " << (P.from()==v1) << endl;99 cout << "P.source()==v1 ? " << (P.from()==v1) << endl; 100 100 check(P.from() == v1); 101 101 #endif … … 129 129 130 130 #ifdef SKELETON 131 cout << "P. head()==v3 ? " << (P.head()==v3) << endl;132 check(P. head() == v3);131 cout << "P.target()==v3 ? " << (P.target()==v3) << endl; 132 check(P.target() == v3); 133 133 #else 134 cout << "P. head()==v3 ? " << (P.to()==v3) << endl;134 cout << "P.target()==v3 ? " << (P.to()==v3) << endl; 135 135 check(P.to() == v3); 136 136 #endif
Note: See TracChangeset
for help on using the changeset viewer.