Changeset 885:5e59c44b6ba2 in lemon-0.x for src/test
- Timestamp:
- 09/19/04 17:24:56 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1193
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/test/kruskal_test.cc
r880 r885 82 82 "Total cost should be -31."); 83 83 84 tree_edge_vec.clear(); 85 86 //The above test could also be coded like this: 87 check(kruskal(G, 88 makeKruskalMapInput(G, edge_cost_map), 89 makeKruskalSequenceOutput(back_inserter(tree_edge_vec))) 90 ==-31, 91 "Total cost should be -31."); 92 84 93 check(tree_edge_vec.size()==5,"The tree should have 5 edges."); 85 94
Note: See TracChangeset
for help on using the changeset viewer.