Rev | Line | |
---|
[849] | 1 | #include<iostream> |
---|
| 2 | #include<hugo/smart_graph.h> |
---|
| 3 | #include<hugo/skeletons/graph.h> |
---|
| 4 | #include<hugo/list_graph.h> |
---|
| 5 | #include<hugo/full_graph.h> |
---|
| 6 | #include<hugo/graph_wrapper.h> |
---|
| 7 | |
---|
[870] | 8 | #include"test/test_tools.h" |
---|
| 9 | #include"test/graph_test.h" |
---|
[849] | 10 | |
---|
| 11 | /** |
---|
| 12 | \file |
---|
[878] | 13 | This test makes consistency checks of graph wrappers. |
---|
[849] | 14 | |
---|
[878] | 15 | \todo More extensive tests are needed |
---|
[849] | 16 | */ |
---|
| 17 | |
---|
| 18 | using namespace hugo; |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | //Compile SmartGraph |
---|
| 22 | typedef SmartGraph Graph; |
---|
| 23 | typedef GraphWrapper<Graph> GW; |
---|
| 24 | template void checkCompileStaticGraph<GW>(GW &); |
---|
| 25 | //template void checkCompileGraphFindEdge<SmartGraph>(SmartGraph &); |
---|
| 26 | |
---|
| 27 | //Compile SymSmartGraph |
---|
| 28 | typedef RevGraphWrapper<Graph> RevGW; |
---|
| 29 | template void checkCompileStaticGraph<RevGW>(RevGW &); |
---|
| 30 | //template void checkCompileGraphFindEdge<SymSmartGraph>(SymSmartGraph &); |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | int main() |
---|
| 34 | { |
---|
| 35 | std::cout << __FILE__ ": All tests passed.\n"; |
---|
| 36 | |
---|
| 37 | return 0; |
---|
| 38 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.