equal
deleted
inserted
replaced
24 #include<lemon/concept/ugraph.h> |
24 #include<lemon/concept/ugraph.h> |
25 |
25 |
26 #include<lemon/list_graph.h> |
26 #include<lemon/list_graph.h> |
27 #include<lemon/full_graph.h> |
27 #include<lemon/full_graph.h> |
28 #include<lemon/graph_adaptor.h> |
28 #include<lemon/graph_adaptor.h> |
|
29 #include<lemon/ugraph_adaptor.h> |
29 |
30 |
30 #include"test/test_tools.h" |
31 #include"test/test_tools.h" |
31 #include"test/graph_test.h" |
32 #include"test/graph_test.h" |
32 |
33 |
33 /** |
34 /** |
64 Graph::EdgeMap<int>, Graph::EdgeMap<int> > >(); |
65 Graph::EdgeMap<int>, Graph::EdgeMap<int> > >(); |
65 |
66 |
66 checkConcept<StaticGraph, ErasingFirstGraphAdaptor<Graph, |
67 checkConcept<StaticGraph, ErasingFirstGraphAdaptor<Graph, |
67 Graph::NodeMap<Graph::Edge> > >(); |
68 Graph::NodeMap<Graph::Edge> > >(); |
68 |
69 |
69 /// \bug why does not compile with StaticGraph |
70 checkConcept<UGraph, UndirGraphAdaptor<Graph> >(); |
70 checkConcept<UGraph, UndirectGraphAdaptor<ListGraph> >(); |
71 |
|
72 checkConcept<UGraph, SubUGraphAdaptor<UGraph, |
|
73 UGraph::NodeMap<bool> , UGraph::UEdgeMap<bool> > >(); |
|
74 checkConcept<UGraph, NodeSubUGraphAdaptor<UGraph, |
|
75 UGraph::NodeMap<bool> > >(); |
|
76 checkConcept<UGraph, EdgeSubUGraphAdaptor<UGraph, |
|
77 UGraph::UEdgeMap<bool> > >(); |
|
78 |
|
79 checkConcept<StaticGraph, DirUGraphAdaptor<UGraph, |
|
80 UGraph::UEdgeMap<bool> > >(); |
71 } |
81 } |
72 std::cout << __FILE__ ": All tests passed.\n"; |
82 std::cout << __FILE__ ": All tests passed.\n"; |
73 |
83 |
74 return 0; |
84 return 0; |
75 } |
85 } |