Changeset 171:02f4d5d9bfd7 in lemon for test/kruskal_test.cc
- Timestamp:
- 06/15/08 22:05:23 (17 years ago)
- Branch:
- default
- Children:
- 172:c94a80f38d7f, 173:b026e9779b28, 175:4eb8900a865c
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/kruskal_test.cc
r103 r171 29 29 #include <lemon/concepts/graph.h> 30 30 31 32 31 using namespace std; 33 32 using namespace lemon; … … 58 57 kruskal(g, r, ws.begin()); 59 58 kruskal(ug, ur, uws.begin()); 60 61 59 } 62 60 … … 98 96 check(kruskal(G, ConstMap<ListGraph::Edge,int>(2), tree_map)==10, 99 97 "Total cost should be 10"); 100 //Test with a edge map (filled with uniform costs).98 //Test with an edge map (filled with uniform costs). 101 99 check(kruskal(G, edge_cost_map, tree_map)==10, 102 100 "Total cost should be 10");
Note: See TracChangeset
for help on using the changeset viewer.