Changeset 1763:49045f2d28d4 in lemon-0.x for test/all_pairs_shortest_path_test.cc
- Timestamp:
- 11/04/05 15:48:10 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2295
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/all_pairs_shortest_path_test.cc
r1745 r1763 89 89 check(johnson.dist(it, jt) == 90 90 johnson.dist(it, johnson.predNode(it, jt)) + 91 length[johnson.pred (it, jt)],91 length[johnson.predEdge(it, jt)], 92 92 "Wrong edge in all pairs shortest path"); 93 93 check(fibJohnson.dist(it, jt) == 94 94 fibJohnson.dist(it, fibJohnson.predNode(it, jt)) + 95 length[fibJohnson.pred (it, jt)],95 length[fibJohnson.predEdge(it, jt)], 96 96 "Wrong edge in all pairs shortest path"); 97 97 check(floyd.dist(it, jt) == 98 98 floyd.dist(it, floyd.predNode(it, jt)) + 99 length[floyd.pred (it, jt)],99 length[floyd.predEdge(it, jt)], 100 100 "Wrong edge in all pairs shortest path"); 101 101 }
Note: See TracChangeset
for help on using the changeset viewer.