diff -r 15282595e6f4 -r 73bd8d5200df test/digraph_test.cc --- a/test/digraph_test.cc Sun Aug 17 15:02:03 2008 +0200 +++ b/test/digraph_test.cc Sun Mar 19 14:38:08 2017 +0100 @@ -20,6 +20,7 @@ #include #include #include +#include #include #include "test_tools.h" @@ -338,6 +339,10 @@ checkConcept(); checkConcept, StaticDigraph>(); } + { // Checking CompactDigraph + checkConcept(); + checkConcept, CompactDigraph>(); + } { // Checking FullDigraph checkConcept(); } @@ -394,12 +399,13 @@ check(!g.valid(g.arcFromId(-1)), "Wrong validity check"); } +template void checkStaticDigraph() { SmartDigraph g; - SmartDigraph::NodeMap nref(g); - SmartDigraph::ArcMap aref(g); + SmartDigraph::NodeMap nref(g); + SmartDigraph::ArcMap aref(g); - StaticDigraph G; + GR G; checkGraphNodeList(G, 0); checkGraphArcList(G, 0); @@ -555,7 +561,8 @@ checkDigraphValidity(); } { // Checking StaticDigraph - checkStaticDigraph(); + checkStaticDigraph(); + checkStaticDigraph(); } { // Checking FullDigraph checkFullDigraph(8);