Changeset 1200:73bd8d5200df in lemon-main for test
- Timestamp:
- 03/19/17 14:38:08 (8 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/digraph_test.cc
r1092 r1200 21 21 #include <lemon/smart_graph.h> 22 22 #include <lemon/static_graph.h> 23 #include <lemon/compact_graph.h> 23 24 #include <lemon/full_graph.h> 24 25 … … 339 340 checkConcept<ClearableDigraphComponent<>, StaticDigraph>(); 340 341 } 342 { // Checking CompactDigraph 343 checkConcept<Digraph, CompactDigraph>(); 344 checkConcept<ClearableDigraphComponent<>, CompactDigraph>(); 345 } 341 346 { // Checking FullDigraph 342 347 checkConcept<Digraph, FullDigraph>(); … … 395 400 } 396 401 402 template <typename GR> 397 403 void checkStaticDigraph() { 398 404 SmartDigraph g; 399 SmartDigraph::NodeMap< StaticDigraph::Node> nref(g);400 SmartDigraph::ArcMap< StaticDigraph::Arc> aref(g);401 402 StaticDigraphG;405 SmartDigraph::NodeMap<typename GR::Node> nref(g); 406 SmartDigraph::ArcMap<typename GR::Arc> aref(g); 407 408 GR G; 403 409 404 410 checkGraphNodeList(G, 0); … … 556 562 } 557 563 { // Checking StaticDigraph 558 checkStaticDigraph(); 564 checkStaticDigraph<StaticDigraph>(); 565 checkStaticDigraph<CompactDigraph>(); 559 566 } 560 567 { // Checking FullDigraph
Note: See TracChangeset
for help on using the changeset viewer.