Changeset 1367:a490662291b9 in lemon-0.x for src/test
- Timestamp:
- 04/18/05 16:59:24 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1812
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/test/undir_graph_test.cc
r1307 r1367 57 57 typedef typename Graph::EdgeIt EdgeIt; 58 58 59 cout << "Nodes" <<endl;59 std::cout << "Nodes" << std::endl; 60 60 int i=0; 61 61 for(NodeIt it(g); it!=INVALID; ++it, ++i) { 62 cout << " " << i << ": " << g.id(it) <<endl;62 std::cout << " " << i << ": " << g.id(it) << std::endl; 63 63 } 64 64 65 cout << "UndirEdge" <<endl;65 std::cout << "UndirEdge" << std::endl; 66 66 i=0; 67 67 for(UEdgeIt it(g); it!=INVALID; ++it, ++i) { 68 cout << " " << i << ": " << g.id(it)68 std::cout << " " << i << ": " << g.id(it) 69 69 << " (" << g.id(g.source(it)) << ", " << g.id(g.target(it)) 70 << ")" << endl;70 << ")" << std::endl; 71 71 } 72 72 73 cout << "Edge" <<endl;73 std::cout << "Edge" << std::endl; 74 74 i=0; 75 75 for(EdgeIt it(g); it!=INVALID; ++it, ++i) { 76 cout << " " << i << ": " << g.id(it)76 std::cout << " " << i << ": " << g.id(it) 77 77 << " (" << g.id(g.source(it)) << ", " << g.id(g.target(it)) 78 << ")" << endl;78 << ")" << std::endl; 79 79 } 80 80
Note: See TracChangeset
for help on using the changeset viewer.