src/test/graph_utils_test.cc
author klao
Wed, 27 Oct 2004 22:38:50 +0000
changeset 946 c94ef40a22ce
child 977 48962802d168
permissions -rw-r--r--
The graph_factory branch (@ 1321) has been merged to trunk.
klao@946
     1
// -*- c++ -*-
klao@946
     2
klao@946
     3
#include <iostream>
klao@946
     4
#include <vector>
klao@946
     5
klao@946
     6
#include <lemon/list_graph.h>
klao@946
     7
#include <lemon/smart_graph.h>
klao@946
     8
#include <lemon/full_graph.h>
klao@946
     9
klao@946
    10
#include "test_tools.h"
klao@946
    11
#include "graph_utils_test.h"
klao@946
    12
klao@946
    13
klao@946
    14
using namespace lemon;
klao@946
    15
klao@946
    16
klao@946
    17
int main() {
klao@946
    18
  ///\file
klao@946
    19
  { // checking list graph
klao@946
    20
    checkGraphCounters<ListGraph>();
klao@946
    21
  }
klao@946
    22
  { // checking smart graph
klao@946
    23
    checkGraphCounters<SmartGraph>();
klao@946
    24
  }
klao@946
    25
klao@946
    26
  std::cout << __FILE__ ": All tests passed.\n";
klao@946
    27
klao@946
    28
  return 0;
klao@946
    29
}