src/test/graph_wrapper_test.cc
author marci
Mon, 20 Sep 2004 16:20:11 +0000
changeset 889 47bb9b8f5705
parent 873 f3a30fda2e49
child 891 74589d20dbc3
permissions -rw-r--r--
EXAMPLE_PATH is set to the demo dir.
     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 
     8 #include"test/test_tools.h"
     9 #include"test/graph_test.h"
    10 
    11 /**
    12 \file
    13 This test makes consistency checks of graph wrappers.
    14 
    15 \todo More extensive tests are needed 
    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 }