src/test/undir_graph_test.cc
author klao
Thu, 25 Nov 2004 14:48:24 +0000
changeset 1021 fd1d073b6557
child 1022 567f392d1d2e
permissions -rw-r--r--
Advances in UndirGraph.
* IterableExtender is complete
klao@962
     1
// -*- C++ -*-
klao@962
     2
klao@962
     3
#include <lemon/undir_graph_extender.h>
klao@962
     4
#include <lemon/concept/undir_graph.h>
klao@962
     5
#include <lemon/list_graph.h>
klao@962
     6
#include <lemon/smart_graph.h>
klao@962
     7
#include <lemon/full_graph.h>
klao@962
     8
klao@962
     9
#include "test_tools.h"
klao@962
    10
klao@962
    11
klao@962
    12
using namespace lemon;
klao@962
    13
using namespace lemon::concept;
klao@962
    14
klao@962
    15
klao@962
    16
int main() {
klao@962
    17
  typedef UndirGraphExtender<ListGraphBase> UndirListGraphBase;
klao@962
    18
klao@962
    19
  function_requires< BaseIterableUndirGraphConcept<UndirListGraphBase> >();
klao@962
    20
klao@962
    21
  typedef IterableUndirGraphExtender<
klao@962
    22
    AlterableUndirGraphExtender<UndirListGraphBase> > IterableUndirListGraph;
klao@962
    23
klao@962
    24
  function_requires< IterableUndirGraphConcept<IterableUndirListGraph> >();
klao@962
    25
klao@962
    26
  return 0;
klao@962
    27
}