test/edge_set_test.cc
changeset 2152 ba87d27667cd
parent 1990 15fb7a4ea6be
child 2260 4274224f8a7d
equal deleted inserted replaced
1:cb738bdab7bb 2:be1823ee5588
    15 
    15 
    16 
    16 
    17 using namespace lemon;
    17 using namespace lemon;
    18 using namespace lemon::concept;
    18 using namespace lemon::concept;
    19 
    19 
    20 typedef SmartGraph Graph;
    20 typedef SmartGraph RGraph;
    21 
    21 
    22 int main() {
    22 int main() {
    23   { // checking edge_sets
    23   { // checking edge_sets
    24     checkConcept<StaticGraph, ListEdgeSet<Graph> >();
    24     checkConcept<Graph, ListEdgeSet<RGraph> >();
    25     checkConcept<UGraph, ListUEdgeSet<Graph> >();
    25     checkConcept<UGraph, ListUEdgeSet<RGraph> >();
    26     checkConcept<StaticGraph, SmartEdgeSet<Graph> >();
    26     checkConcept<Graph, SmartEdgeSet<RGraph> >();
    27     checkConcept<UGraph, SmartUEdgeSet<Graph> >();
    27     checkConcept<UGraph, SmartUEdgeSet<RGraph> >();
    28   }
    28   }
    29 
    29 
    30   std::cout << __FILE__ ": All tests passed.\n";
    30   std::cout << __FILE__ ": All tests passed.\n";
    31 
    31 
    32   return 0;
    32   return 0;