test/edge_set_test.cc
author alpar
Mon, 30 Oct 2006 16:19:18 +0000
changeset 2274 432d0469a87e
parent 2111 ea1fa1bc3f6d
child 2391 14a343be7a5a
permissions -rw-r--r--
Turn off 32 bit only tests, cont'd.
     1 // -*- c++ -*-
     2 
     3 #include <iostream>
     4 #include <vector>
     5 
     6 #include <lemon/concepts/graph.h>
     7 #include <lemon/concepts/ugraph.h>
     8 #include <lemon/smart_graph.h>
     9 
    10 #include <lemon/edge_set.h>
    11 
    12 #include "test_tools.h"
    13 #include "graph_test.h"
    14 #include "map_test.h"
    15 
    16 
    17 using namespace lemon;
    18 using namespace lemon::concepts;
    19 
    20 typedef SmartGraph RGraph;
    21 
    22 int main() {
    23   { // checking edge_sets
    24     checkConcept<Graph, ListEdgeSet<RGraph> >();
    25     checkConcept<UGraph, ListUEdgeSet<RGraph> >();
    26     checkConcept<Graph, SmartEdgeSet<RGraph> >();
    27     checkConcept<UGraph, SmartUEdgeSet<RGraph> >();
    28   }
    29 
    30   std::cout << __FILE__ ": All tests passed.\n";
    31 
    32   return 0;
    33 }