Changes in test/graph_test.h [263:be8a861d3bb7:228:b6732e0d38c5] in lemon-main
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/graph_test.h
r263 r228 213 213 check(s == 0, "Wrong sum."); 214 214 215 //map = constMap<Node>(12);216 //for (NodeIt it(G); it != INVALID; ++it) {217 //check(map[it] == 12, "Wrong operator[].");218 //}215 map = constMap<Node>(12); 216 for (NodeIt it(G); it != INVALID; ++it) { 217 check(map[it] == 12, "Wrong operator[]."); 218 } 219 219 } 220 220 … … 243 243 check(s == 0, "Wrong sum."); 244 244 245 //map = constMap<Arc>(12);246 //for (ArcIt it(G); it != INVALID; ++it) {247 //check(map[it] == 12, "Wrong operator[].");248 //}245 map = constMap<Arc>(12); 246 for (ArcIt it(G); it != INVALID; ++it) { 247 check(map[it] == 12, "Wrong operator[]."); 248 } 249 249 } 250 250 … … 273 273 check(s == 0, "Wrong sum."); 274 274 275 //map = constMap<Edge>(12);276 //for (EdgeIt it(G); it != INVALID; ++it) {277 //check(map[it] == 12, "Wrong operator[].");278 //}275 map = constMap<Edge>(12); 276 for (EdgeIt it(G); it != INVALID; ++it) { 277 check(map[it] == 12, "Wrong operator[]."); 278 } 279 279 } 280 280
Note: See TracChangeset
for help on using the changeset viewer.