test/graph_test.cc
changeset 119 82a2639a05bb
parent 107 31a2e6d28f61
child 149 2f7ae34e1333
equal deleted inserted replaced
1:5d02c0970e50 2:d947fc18f3ba
    16  *
    16  *
    17  */
    17  */
    18 
    18 
    19 #include <lemon/concepts/graph.h>
    19 #include <lemon/concepts/graph.h>
    20 #include <lemon/list_graph.h>
    20 #include <lemon/list_graph.h>
    21 // #include <lemon/smart_graph.h>
    21 #include <lemon/smart_graph.h>
    22 // #include <lemon/full_graph.h>
    22 // #include <lemon/full_graph.h>
    23 // #include <lemon/grid_graph.h>
    23 // #include <lemon/grid_graph.h>
    24 
    24 
    25 //#include <lemon/graph_utils.h>
    25 //#include <lemon/graph_utils.h>
    26 
    26 
    45       MappableGraphComponent<> >();
    45       MappableGraphComponent<> >();
    46 
    46 
    47   }
    47   }
    48   {
    48   {
    49     checkConcept<Graph, ListGraph>();    
    49     checkConcept<Graph, ListGraph>();    
    50 //     checkConcept<Graph, SmartGraph>();    
    50     checkConcept<Graph, SmartGraph>();    
    51 //     checkConcept<Graph, FullGraph>();    
    51 //     checkConcept<Graph, FullGraph>();    
    52 //     checkConcept<Graph, Graph>();    
    52 //     checkConcept<Graph, Graph>();    
    53 //     checkConcept<Graph, GridGraph>();
    53 //     checkConcept<Graph, GridGraph>();
    54   }
    54   }
    55 }
    55 }
   186 
   186 
   187 int main() {
   187 int main() {
   188   check_concepts();
   188   check_concepts();
   189 
   189 
   190   check_graph<ListGraph>();
   190   check_graph<ListGraph>();
   191 //  check_graph<SmartGraph>();
   191   check_graph<SmartGraph>();
   192 
   192 
   193 //   {
   193 //   {
   194 //     FullGraph g(5);
   194 //     FullGraph g(5);
   195 //     check_item_counts(g, 5, 10);
   195 //     check_item_counts(g, 5, 10);
   196 //   }
   196 //   }