src/test/bfs_test.cc
changeset 793 9cd0aeea47b0
parent 780 e06d0d16595f
child 880 9d0bfd35b97c
     1.1 --- a/src/test/bfs_test.cc	Thu Sep 02 17:56:40 2004 +0000
     1.2 +++ b/src/test/bfs_test.cc	Fri Sep 03 09:41:50 2004 +0000
     1.3 @@ -1,34 +1,32 @@
     1.4  #include "test_tools.h"
     1.5  #include <hugo/smart_graph.h>
     1.6  #include <hugo/bfs.h>
     1.7 +#include<hugo/skeletons/graph.h>
     1.8  
     1.9  using namespace hugo;
    1.10  
    1.11  const int PET_SIZE =5;
    1.12  
    1.13  
    1.14 -void check_Bfs_SmartGraph_Compile() 
    1.15 +void check_Bfs_Compile() 
    1.16  {
    1.17 -  typedef int VType;
    1.18 -  typedef SmartGraph Graph;
    1.19 +  typedef skeleton::StaticGraphSkeleton Graph;
    1.20  
    1.21    typedef Graph::Edge Edge;
    1.22    typedef Graph::Node Node;
    1.23    typedef Graph::EdgeIt EdgeIt;
    1.24    typedef Graph::NodeIt NodeIt;
    1.25 -  typedef Graph::EdgeMap<VType> LengthMap;
    1.26   
    1.27    typedef Bfs<Graph> BType;
    1.28    
    1.29    Graph G;
    1.30    Node n;
    1.31    Edge e;
    1.32 -  VType l;
    1.33 +  int l;
    1.34    bool b;
    1.35    BType::DistMap d(G);
    1.36    BType::PredMap p(G);
    1.37    BType::PredNodeMap pn(G);
    1.38 -  LengthMap cap(G);
    1.39    
    1.40    BType bfs_test(G);
    1.41