equal
deleted
inserted
replaced
17 #include<iostream> |
17 #include<iostream> |
18 #include<lemon/concept_check.h> |
18 #include<lemon/concept_check.h> |
19 |
19 |
20 #include<lemon/smart_graph.h> |
20 #include<lemon/smart_graph.h> |
21 #include<lemon/concept/graph.h> |
21 #include<lemon/concept/graph.h> |
|
22 #include<lemon/concept/undir_graph.h> |
22 |
23 |
23 #include<lemon/list_graph.h> |
24 #include<lemon/list_graph.h> |
24 #include<lemon/full_graph.h> |
25 #include<lemon/full_graph.h> |
25 #include<lemon/graph_wrapper.h> |
26 #include<lemon/graph_wrapper.h> |
26 |
27 |
60 checkConcept<StaticGraph, ResGraphWrapper<Graph, int, |
61 checkConcept<StaticGraph, ResGraphWrapper<Graph, int, |
61 Graph::EdgeMap<int>, Graph::EdgeMap<int> > >(); |
62 Graph::EdgeMap<int>, Graph::EdgeMap<int> > >(); |
62 |
63 |
63 checkConcept<StaticGraph, ErasingFirstGraphWrapper<Graph, |
64 checkConcept<StaticGraph, ErasingFirstGraphWrapper<Graph, |
64 Graph::NodeMap<Graph::Edge> > >(); |
65 Graph::NodeMap<Graph::Edge> > >(); |
|
66 |
|
67 /// \bug why does not compile with StaticGraph |
|
68 checkConcept<BaseIterableUndirGraphConcept, UndirGraphWrapper<ListGraph> >(); |
|
69 checkConcept<IterableUndirGraphConcept, UndirGraphWrapper<ListGraph> >(); |
|
70 checkConcept<MappableUndirGraphConcept, UndirGraphWrapper<ListGraph> >(); |
65 } |
71 } |
66 std::cout << __FILE__ ": All tests passed.\n"; |
72 std::cout << __FILE__ ": All tests passed.\n"; |
67 |
73 |
68 return 0; |
74 return 0; |
69 } |
75 } |