src/test/undir_graph_test.cc
changeset 962 1a770e9f80b2
child 1022 567f392d1d2e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/test/undir_graph_test.cc	Fri Nov 05 00:31:49 2004 +0000
     1.3 @@ -0,0 +1,27 @@
     1.4 +// -*- C++ -*-
     1.5 +
     1.6 +#include <lemon/undir_graph_extender.h>
     1.7 +#include <lemon/concept/undir_graph.h>
     1.8 +#include <lemon/list_graph.h>
     1.9 +#include <lemon/smart_graph.h>
    1.10 +#include <lemon/full_graph.h>
    1.11 +
    1.12 +#include "test_tools.h"
    1.13 +
    1.14 +
    1.15 +using namespace lemon;
    1.16 +using namespace lemon::concept;
    1.17 +
    1.18 +
    1.19 +int main() {
    1.20 +  typedef UndirGraphExtender<ListGraphBase> UndirListGraphBase;
    1.21 +
    1.22 +  function_requires< BaseIterableUndirGraphConcept<UndirListGraphBase> >();
    1.23 +
    1.24 +  typedef IterableUndirGraphExtender<
    1.25 +    AlterableUndirGraphExtender<UndirListGraphBase> > IterableUndirListGraph;
    1.26 +
    1.27 +  function_requires< IterableUndirGraphConcept<IterableUndirListGraph> >();
    1.28 +
    1.29 +  return 0;
    1.30 +}