test/kruskal_test.cc
changeset 2152 ba87d27667cd
parent 2111 ea1fa1bc3f6d
child 2260 4274224f8a7d
equal deleted inserted replaced
4:4d65b9d0f876 5:ef452b3dffe1
    32 
    32 
    33 void checkCompileKruskal()
    33 void checkCompileKruskal()
    34 {
    34 {
    35   concept::WriteMap<concept::Graph::Edge,bool> w;
    35   concept::WriteMap<concept::Graph::Edge,bool> w;
    36 
    36 
    37   kruskal(concept::Graph(),
    37   concept::Graph g;
       
    38   kruskal(g,
    38 	  concept::ReadMap<concept::Graph::Edge,int>(),
    39 	  concept::ReadMap<concept::Graph::Edge,int>(),
    39 	  w);
    40 	  w);
    40 }
    41 }
    41 
    42 
    42 int main() {
    43 int main() {