test/bfs_test.cc
changeset 2111 ea1fa1bc3f6d
parent 1956 a055123339d5
child 2135 15355b98fb84
equal deleted inserted replaced
3:02f9560c08a8 4:fbd8b03662a8
    27 const int PET_SIZE =5;
    27 const int PET_SIZE =5;
    28 
    28 
    29 
    29 
    30 void check_Bfs_Compile() 
    30 void check_Bfs_Compile() 
    31 {
    31 {
    32   typedef concept::StaticGraph Graph;
    32   typedef concept::Graph Graph;
    33 
    33 
    34   typedef Graph::Edge Edge;
    34   typedef Graph::Edge Edge;
    35   typedef Graph::Node Node;
    35   typedef Graph::Node Node;
    36   typedef Graph::EdgeIt EdgeIt;
    36   typedef Graph::EdgeIt EdgeIt;
    37   typedef Graph::NodeIt NodeIt;
    37   typedef Graph::NodeIt NodeIt;
    64 }
    64 }
    65 
    65 
    66 void check_Bfs_Function_Compile() 
    66 void check_Bfs_Function_Compile() 
    67 {
    67 {
    68   typedef int VType;
    68   typedef int VType;
    69   typedef concept::StaticGraph Graph;
    69   typedef concept::Graph Graph;
    70 
    70 
    71   typedef Graph::Edge Edge;
    71   typedef Graph::Edge Edge;
    72   typedef Graph::Node Node;
    72   typedef Graph::Node Node;
    73   typedef Graph::EdgeIt EdgeIt;
    73   typedef Graph::EdgeIt EdgeIt;
    74   typedef Graph::NodeIt NodeIt;
    74   typedef Graph::NodeIt NodeIt;