COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/test/graph_wrapper_test.cc @ 878:86b42ec55f3e

Last change on this file since 878:86b42ec55f3e was 878:86b42ec55f3e, checked in by Alpar Juttner, 17 years ago

Graph wrapper tests added.

File size: 828 bytes
Line 
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
13This test makes consistency checks of graph wrappers.
14
15\todo More extensive tests are needed
16*/
17
18using namespace hugo;
19
20
21//Compile SmartGraph
22typedef SmartGraph Graph;
23typedef GraphWrapper<Graph> GW;
24template void checkCompileStaticGraph<GW>(GW &);
25//template void checkCompileGraphFindEdge<SmartGraph>(SmartGraph &);
26
27//Compile SymSmartGraph
28typedef RevGraphWrapper<Graph> RevGW;
29template void checkCompileStaticGraph<RevGW>(RevGW &);
30//template void checkCompileGraphFindEdge<SymSmartGraph>(SymSmartGraph &);
31
32
33int 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.