Changeset 2335:27aa03cd3121 in lemon-0.x for test/dijkstra_test.cc
- Timestamp:
- 01/08/07 11:39:59 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3123
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/dijkstra_test.cc
r2298 r2335 64 64 b = dijkstra_test.reached(n); 65 65 66 Path<Graph> pp(G); 67 dijkstra_test.getPath(pp,n); 66 Path<Graph> pp = dijkstra_test.path(n); 68 67 } 69 68 … … 121 120 122 121 123 Path<Graph> p(G); 124 check(dijkstra_test.getPath(p,t),"getPath() failed to set the path."); 122 Path<Graph> p = dijkstra_test.path(t); 125 123 check(p.length()==4,"getPath() found a wrong path."); 124 check(checkPath(G, p),"path() found a wrong path."); 125 check(pathSource(G, p) == s,"path() found a wrong path."); 126 check(pathTarget(G, p) == t,"path() found a wrong path."); 126 127 127 128
Note: See TracChangeset
for help on using the changeset viewer.