src/test/graph_utils_test.cc
changeset 946 c94ef40a22ce
child 977 48962802d168
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/test/graph_utils_test.cc	Wed Oct 27 22:38:50 2004 +0000
     1.3 @@ -0,0 +1,29 @@
     1.4 +// -*- c++ -*-
     1.5 +
     1.6 +#include <iostream>
     1.7 +#include <vector>
     1.8 +
     1.9 +#include <lemon/list_graph.h>
    1.10 +#include <lemon/smart_graph.h>
    1.11 +#include <lemon/full_graph.h>
    1.12 +
    1.13 +#include "test_tools.h"
    1.14 +#include "graph_utils_test.h"
    1.15 +
    1.16 +
    1.17 +using namespace lemon;
    1.18 +
    1.19 +
    1.20 +int main() {
    1.21 +  ///\file
    1.22 +  { // checking list graph
    1.23 +    checkGraphCounters<ListGraph>();
    1.24 +  }
    1.25 +  { // checking smart graph
    1.26 +    checkGraphCounters<SmartGraph>();
    1.27 +  }
    1.28 +
    1.29 +  std::cout << __FILE__ ": All tests passed.\n";
    1.30 +
    1.31 +  return 0;
    1.32 +}