src/test/kruskal_test.cc
changeset 1082 e9eae612f01c
parent 921 818510fa3d99
child 1164 80bb73097736
equal deleted inserted replaced
4:346fe5f01898 5:6f1f69e72a2b
    19 
    19 
    20 #include "test_tools.h"
    20 #include "test_tools.h"
    21 #include <lemon/maps.h>
    21 #include <lemon/maps.h>
    22 #include <lemon/kruskal.h>
    22 #include <lemon/kruskal.h>
    23 #include <lemon/list_graph.h>
    23 #include <lemon/list_graph.h>
    24 #include <lemon/skeletons/maps.h>
    24 #include <lemon/concept/maps.h>
    25 #include <lemon/skeletons/graph.h>
    25 #include <lemon/concept/graph.h>
    26 
    26 
    27 
    27 
    28 using namespace std;
    28 using namespace std;
    29 using namespace lemon;
    29 using namespace lemon;
    30 
    30 
    31 void checkCompileKruskal()
    31 void checkCompileKruskal()
    32 {
    32 {
    33   skeleton::WriteMap<skeleton::StaticGraph::Edge,bool> w;
    33   concept::WriteMap<concept::StaticGraph::Edge,bool> w;
    34 
    34 
    35   kruskalEdgeMap(skeleton::StaticGraph(),
    35   kruskalEdgeMap(concept::StaticGraph(),
    36 		 skeleton::ReadMap<skeleton::StaticGraph::Edge,int>(),
    36 		 concept::ReadMap<concept::StaticGraph::Edge,int>(),
    37 		 w);
    37 		 w);
    38 }
    38 }
    39 
    39 
    40 int main() {
    40 int main() {
    41 
    41