Changeset 2386:81b47fc5c444 in lemon-0.x for test/map_test.h
- Timestamp:
- 03/02/07 19:04:28 (14 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3217
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/map_test.h
r1956 r2386 46 46 typedef typename Graph::template NodeMap<int> IntNodeMap; 47 47 IntNodeMap map(graph, 42); 48 for (int i = 0; i < (int)nodes.size(); ++i) {48 for (int i = 0; i < int(nodes.size()); ++i) { 49 49 check(map[nodes[i]] == 42, "Wrong map constructor."); 50 50 } … … 54 54 } 55 55 map = constMap<Node>(12); 56 for (int i = 0; i < (int)nodes.size(); ++i) {56 for (int i = 0; i < int(nodes.size()); ++i) { 57 57 check(map[nodes[i]] == 12, "Wrong map constructor."); 58 58 } … … 84 84 IntEdgeMap map(graph, 42); 85 85 86 for (int i = 0; i < (int)edges.size(); ++i) {86 for (int i = 0; i < int(edges.size()); ++i) { 87 87 check(map[edges[i]] == 42, "Wrong map constructor."); 88 88 } … … 95 95 } 96 96 map = constMap<Edge>(12); 97 for (int i = 0; i < (int)edges.size(); ++i) {97 for (int i = 0; i < int(edges.size()); ++i) { 98 98 check(map[edges[i]] == 12, "Wrong map constructor."); 99 99 }
Note: See TracChangeset
for help on using the changeset viewer.