1.1 --- a/src/test/dfs_test.cc Thu Sep 02 17:56:40 2004 +0000
1.2 +++ b/src/test/dfs_test.cc Fri Sep 03 09:41:50 2004 +0000
1.3 @@ -1,6 +1,7 @@
1.4 #include "test_tools.h"
1.5 #include <hugo/smart_graph.h>
1.6 #include <hugo/dfs.h>
1.7 +#include<hugo/skeletons/graph.h>
1.8
1.9 using namespace hugo;
1.10
1.11 @@ -9,28 +10,25 @@
1.12
1.13 void check_Dfs_SmartGraph_Compile()
1.14 {
1.15 - typedef int VType;
1.16 - typedef SmartGraph Graph;
1.17 + typedef skeleton::StaticGraphSkeleton Graph;
1.18
1.19 typedef Graph::Edge Edge;
1.20 typedef Graph::Node Node;
1.21 typedef Graph::EdgeIt EdgeIt;
1.22 typedef Graph::NodeIt NodeIt;
1.23 - typedef Graph::EdgeMap<VType> LengthMap;
1.24
1.25 - typedef Dfs<Graph> BType;
1.26 + typedef Dfs<Graph> DType;
1.27
1.28 Graph G;
1.29 Node n;
1.30 Edge e;
1.31 - VType l;
1.32 + int l;
1.33 bool b;
1.34 - BType::DistMap d(G);
1.35 - BType::PredMap p(G);
1.36 - BType::PredNodeMap pn(G);
1.37 - LengthMap cap(G);
1.38 + DType::DistMap d(G);
1.39 + DType::PredMap p(G);
1.40 + DType::PredNodeMap pn(G);
1.41
1.42 - BType dfs_test(G);
1.43 + DType dfs_test(G);
1.44
1.45 dfs_test.run(n);
1.46