Changeset 2236:9f329faa4aee in lemon-0.x for test/graph_utils_test.cc
- Timestamp:
- 10/12/06 12:53:49 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2979
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/graph_utils_test.cc
r1956 r2236 87 87 } 88 88 } 89 AllEdgeLookUp<FullGraph> el(fg); 90 for (FullGraph::NodeIt src(fg); src != INVALID; ++src) { 91 for (FullGraph::NodeIt trg(fg); trg != INVALID; ++trg) { 92 FullGraph::Edge con = el(src, trg); 93 check(con != INVALID, "There is no connecting edge."); 94 check(fg.source(con) == src, "Wrong source."); 95 check(fg.target(con) == trg, "Wrong target."); 96 check(el(src,trg,con) == INVALID, "There is more connecting edge."); 97 } 98 } 89 99 } 90 100
Note: See TracChangeset
for help on using the changeset viewer.