1.1 --- a/test/graph_adaptor_test.cc Wed Feb 22 18:26:56 2006 +0000
1.2 +++ b/test/graph_adaptor_test.cc Thu Feb 23 08:55:54 2006 +0000
1.3 @@ -26,6 +26,7 @@
1.4 #include<lemon/list_graph.h>
1.5 #include<lemon/full_graph.h>
1.6 #include<lemon/graph_adaptor.h>
1.7 +#include<lemon/ugraph_adaptor.h>
1.8
1.9 #include"test/test_tools.h"
1.10 #include"test/graph_test.h"
1.11 @@ -66,8 +67,17 @@
1.12 checkConcept<StaticGraph, ErasingFirstGraphAdaptor<Graph,
1.13 Graph::NodeMap<Graph::Edge> > >();
1.14
1.15 - /// \bug why does not compile with StaticGraph
1.16 - checkConcept<UGraph, UndirectGraphAdaptor<ListGraph> >();
1.17 + checkConcept<UGraph, UndirGraphAdaptor<Graph> >();
1.18 +
1.19 + checkConcept<UGraph, SubUGraphAdaptor<UGraph,
1.20 + UGraph::NodeMap<bool> , UGraph::UEdgeMap<bool> > >();
1.21 + checkConcept<UGraph, NodeSubUGraphAdaptor<UGraph,
1.22 + UGraph::NodeMap<bool> > >();
1.23 + checkConcept<UGraph, EdgeSubUGraphAdaptor<UGraph,
1.24 + UGraph::UEdgeMap<bool> > >();
1.25 +
1.26 + checkConcept<StaticGraph, DirUGraphAdaptor<UGraph,
1.27 + UGraph::UEdgeMap<bool> > >();
1.28 }
1.29 std::cout << __FILE__ ": All tests passed.\n";
1.30