author | marci |
Mon, 20 Sep 2004 16:20:11 +0000 | |
changeset 889 | 47bb9b8f5705 |
parent 873 | f3a30fda2e49 |
child 891 | 74589d20dbc3 |
permissions | -rw-r--r-- |
marci@849 | 1 |
#include<iostream> |
marci@849 | 2 |
#include<hugo/smart_graph.h> |
marci@849 | 3 |
#include<hugo/skeletons/graph.h> |
marci@849 | 4 |
#include<hugo/list_graph.h> |
marci@849 | 5 |
#include<hugo/full_graph.h> |
marci@849 | 6 |
#include<hugo/graph_wrapper.h> |
marci@849 | 7 |
|
marci@870 | 8 |
#include"test/test_tools.h" |
marci@870 | 9 |
#include"test/graph_test.h" |
marci@849 | 10 |
|
marci@849 | 11 |
/** |
marci@849 | 12 |
\file |
alpar@878 | 13 |
This test makes consistency checks of graph wrappers. |
marci@849 | 14 |
|
alpar@878 | 15 |
\todo More extensive tests are needed |
marci@849 | 16 |
*/ |
marci@849 | 17 |
|
marci@849 | 18 |
using namespace hugo; |
marci@849 | 19 |
|
marci@849 | 20 |
|
marci@849 | 21 |
//Compile SmartGraph |
marci@849 | 22 |
typedef SmartGraph Graph; |
marci@849 | 23 |
typedef GraphWrapper<Graph> GW; |
marci@849 | 24 |
template void checkCompileStaticGraph<GW>(GW &); |
marci@849 | 25 |
//template void checkCompileGraphFindEdge<SmartGraph>(SmartGraph &); |
marci@849 | 26 |
|
marci@849 | 27 |
//Compile SymSmartGraph |
marci@849 | 28 |
typedef RevGraphWrapper<Graph> RevGW; |
marci@849 | 29 |
template void checkCompileStaticGraph<RevGW>(RevGW &); |
marci@849 | 30 |
//template void checkCompileGraphFindEdge<SymSmartGraph>(SymSmartGraph &); |
marci@849 | 31 |
|
marci@849 | 32 |
|
marci@849 | 33 |
int main() |
marci@849 | 34 |
{ |
marci@849 | 35 |
std::cout << __FILE__ ": All tests passed.\n"; |
marci@849 | 36 |
|
marci@849 | 37 |
return 0; |
marci@849 | 38 |
} |