Changeset 791:7a54630d22b6 in lemon-0.x
- Timestamp:
- 09/02/04 19:30:06 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1085
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/test/minlengthpaths_test.cc
r790 r791 59 59 surb_test(graph, length); 60 60 61 check( surb_test.run(s,t,k) == 2 && surb_test.totalLength() == 46,"Two paths, total length should be 46"); 61 check( surb_test.run(s,t,k) == 2 && surb_test.totalLength() == 46, 62 "Two paths, total length should be 46"); 62 63 63 check( surb_test.checkComplementarySlackness(), "Complementary slackness conditions are not met."); 64 check( surb_test.checkComplementarySlackness(), 65 "Complementary slackness conditions are not met."); 64 66 65 67 // typedef DirPath<ListGraph> DPath; … … 76 78 77 79 k=1; 78 check( surb_test.run(s,t,k) == 1 && surb_test.totalLength() == 19,"One path, total length should be 19"); 80 check( surb_test.run(s,t,k) == 1 && surb_test.totalLength() == 19, 81 "One path, total length should be 19"); 79 82 80 check( surb_test.checkComplementarySlackness(), "Complementary slackness conditions are not met."); 83 check( surb_test.checkComplementarySlackness(), 84 "Complementary slackness conditions are not met."); 81 85 82 86 // surb_test.getPath(P,0);
Note: See TracChangeset
for help on using the changeset viewer.