test/undir_graph_test.cc
changeset 1622 9c98841eda96
parent 1435 8e85e6bbefdf
child 1680 4f8b9cee576b
equal deleted inserted replaced
0:ba012cd7852e 1:b45fab9e09b8
    37   checkConcept<UndirGraph, UndirListGraph>();
    37   checkConcept<UndirGraph, UndirListGraph>();
    38   checkConcept<ErasableUndirGraph, UndirListGraph>();
    38   checkConcept<ErasableUndirGraph, UndirListGraph>();
    39 
    39 
    40   checkConcept<UndirGraph, UndirSmartGraph>();
    40   checkConcept<UndirGraph, UndirSmartGraph>();
    41   checkConcept<ExtendableUndirGraph, UndirSmartGraph>();
    41   checkConcept<ExtendableUndirGraph, UndirSmartGraph>();
       
    42 
       
    43   checkConcept<UndirGraph, UndirFullGraph>();
    42 
    44 
    43   checkConcept<UndirGraph, UndirGraph>();
    45   checkConcept<UndirGraph, UndirGraph>();
    44 }
    46 }
    45 
    47 
    46 template <typename Graph>
    48 template <typename Graph>
   114   check_concepts();
   116   check_concepts();
   115 
   117 
   116   check_graph<UndirListGraph>();
   118   check_graph<UndirListGraph>();
   117   check_graph<UndirSmartGraph>();
   119   check_graph<UndirSmartGraph>();
   118 
   120 
       
   121   {
       
   122     UndirFullGraph g(5);
       
   123     check_item_counts(g, 5, 10);
       
   124   }
       
   125 
   119   return 0;
   126   return 0;
   120 }
   127 }