src/test/graph_test.cc
changeset 795 cfa6c2ea48e5
parent 787 584270fba752
child 800 b70a494b4912
equal deleted inserted replaced
14:9846c1a7df4a 15:78c6062445e7
    16 \todo Checks for Node->NodeIt, Edge->{EdgeIt,InEdgeIt,OutEdgeIt}
    16 \todo Checks for Node->NodeIt, Edge->{EdgeIt,InEdgeIt,OutEdgeIt}
    17 conversion.
    17 conversion.
    18 */
    18 */
    19 
    19 
    20 using namespace hugo;
    20 using namespace hugo;
    21 using namespace hugo::skeleton;
       
    22 
    21 
    23 template<class Graph> void checkCompileStaticGraph(Graph &G) 
    22 template<class Graph> void checkCompileStaticGraph(Graph &G) 
    24 {
    23 {
    25   typedef typename Graph::Node Node;
    24   typedef typename Graph::Node Node;
    26   typedef typename Graph::NodeIt NodeIt;
    25   typedef typename Graph::NodeIt NodeIt;
   339     ++n;
   338     ++n;
   340   }  
   339   }  
   341 }
   340 }
   342 
   341 
   343 //Compile GraphSkeleton
   342 //Compile GraphSkeleton
   344 template 
   343 template void checkCompileStaticGraph<skeleton::StaticGraphSkeleton>
   345 void checkCompileStaticGraph<StaticGraphSkeleton>(StaticGraphSkeleton &);
   344 (skeleton::StaticGraphSkeleton &);
   346 template void checkCompile<GraphSkeleton>(GraphSkeleton &);
   345 
   347 template
   346 template void checkCompile<skeleton::GraphSkeleton>(skeleton::GraphSkeleton &);
   348 void checkCompileErase<EraseableGraphSkeleton>(EraseableGraphSkeleton &);
   347 
       
   348 template void checkCompileErase<skeleton::EraseableGraphSkeleton>
       
   349 (skeleton::EraseableGraphSkeleton &);
   349 
   350 
   350 //Compile SmartGraph
   351 //Compile SmartGraph
   351 template void checkCompile<SmartGraph>(SmartGraph &);
   352 template void checkCompile<SmartGraph>(SmartGraph &);
   352 
   353 
   353 //Compile SymSmartGraph
   354 //Compile SymSmartGraph