Changeset 1728:eb8bb91ba9e2 in lemon-0.x for test/graph_test.h
- Timestamp:
- 10/14/05 13:03:40 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2255
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/graph_test.h
r1435 r1728 17 17 #define LEMON_TEST_GRAPH_TEST_H 18 18 19 19 #include <lemon/graph_utils.h> 20 20 #include "test_tools.h" 21 21 … … 81 81 } 82 82 83 template <class Graph> 84 void checkGraphIterators(const Graph& graph) { 85 typedef typename Graph::Node Node; 86 typedef typename Graph::NodeIt NodeIt; 87 typedef typename Graph::Edge Edge; 88 typedef typename Graph::EdgeIt EdgeIt; 89 typedef typename Graph::InEdgeIt InEdgeIt; 90 typedef typename Graph::OutEdgeIt OutEdgeIt; 91 typedef ConEdgeIt<Graph> ConEdgeIt; 92 93 for (NodeIt it(graph); it != INVALID; ++it) {} 94 } 95 83 96 ///\file 84 97 ///\todo Check target(), source() as well;
Note: See TracChangeset
for help on using the changeset viewer.