test/kruskal_test.cc
changeset 2316 c0fae4bbaa5c
parent 2135 15355b98fb84
child 2391 14a343be7a5a
equal deleted inserted replaced
5:ef452b3dffe1 6:790948a39167
    21 
    21 
    22 #include "test_tools.h"
    22 #include "test_tools.h"
    23 #include <lemon/maps.h>
    23 #include <lemon/maps.h>
    24 #include <lemon/kruskal.h>
    24 #include <lemon/kruskal.h>
    25 #include <lemon/list_graph.h>
    25 #include <lemon/list_graph.h>
    26 #include <lemon/concept/maps.h>
    26 #include <lemon/concepts/maps.h>
    27 #include <lemon/concept/graph.h>
    27 #include <lemon/concepts/graph.h>
    28 
    28 
    29 
    29 
    30 using namespace std;
    30 using namespace std;
    31 using namespace lemon;
    31 using namespace lemon;
    32 
    32 
    33 void checkCompileKruskal()
    33 void checkCompileKruskal()
    34 {
    34 {
    35   concept::WriteMap<concept::Graph::Edge,bool> w;
    35   concepts::WriteMap<concepts::Graph::Edge,bool> w;
    36 
    36 
    37   concept::Graph g;
    37   concepts::Graph g;
    38   kruskal(g,
    38   kruskal(g,
    39 	  concept::ReadMap<concept::Graph::Edge,int>(),
    39 	  concepts::ReadMap<concepts::Graph::Edge,int>(),
    40 	  w);
    40 	  w);
    41 }
    41 }
    42 
    42 
    43 int main() {
    43 int main() {
    44 
    44