author | alpar |
Wed, 15 Mar 2006 09:44:17 +0000 | |
changeset 2006 | 00d59f733817 |
parent 1962 | c1c3a0fae8a1 |
child 2111 | ea1fa1bc3f6d |
permissions | -rw-r--r-- |
deba@1962 | 1 |
// -*- c++ -*- |
deba@1962 | 2 |
|
deba@1962 | 3 |
#include <iostream> |
deba@1962 | 4 |
#include <vector> |
deba@1962 | 5 |
|
deba@1962 | 6 |
#include <lemon/concept/graph.h> |
deba@1962 | 7 |
#include <lemon/concept/ugraph.h> |
deba@1962 | 8 |
#include <lemon/smart_graph.h> |
deba@1962 | 9 |
|
deba@1962 | 10 |
#include <lemon/edge_set.h> |
deba@1962 | 11 |
|
deba@1962 | 12 |
#include "test_tools.h" |
deba@1962 | 13 |
#include "graph_test.h" |
deba@1962 | 14 |
#include "map_test.h" |
deba@1962 | 15 |
|
deba@1962 | 16 |
|
deba@1962 | 17 |
using namespace lemon; |
deba@1962 | 18 |
using namespace lemon::concept; |
deba@1962 | 19 |
|
deba@1990 | 20 |
typedef SmartGraph Graph; |
deba@1962 | 21 |
|
deba@1962 | 22 |
int main() { |
deba@1962 | 23 |
{ // checking edge_sets |
deba@1962 | 24 |
checkConcept<StaticGraph, ListEdgeSet<Graph> >(); |
deba@1962 | 25 |
checkConcept<UGraph, ListUEdgeSet<Graph> >(); |
deba@1962 | 26 |
checkConcept<StaticGraph, SmartEdgeSet<Graph> >(); |
deba@1962 | 27 |
checkConcept<UGraph, SmartUEdgeSet<Graph> >(); |
deba@1962 | 28 |
} |
deba@1962 | 29 |
|
deba@1962 | 30 |
std::cout << __FILE__ ": All tests passed.\n"; |
deba@1962 | 31 |
|
deba@1962 | 32 |
return 0; |
deba@1962 | 33 |
} |