Changeset 2242:16523135943d in lemon0.x for test/heap_test.h
 Timestamp:
 10/14/06 17:26:05 (14 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@2991
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

test/heap_test.h
r2229 r2242 46 46 47 47 for (int i = 0; i < n; ++i) { 48 v[i] = rnd .getInt(1000);48 v[i] = rnd[1000]; 49 49 heap.push(i, v[i]); 50 50 } … … 66 66 67 67 for (int i = 0; i < n; ++i) { 68 v[i] = rnd .getInt(1000);68 v[i] = rnd[1000]; 69 69 heap.push(i, v[i]); 70 70 } 71 71 for (int i = 0; i < n; ++i) { 72 v[i] += rnd .getInt(1000);72 v[i] += rnd[1000]; 73 73 heap.increase(i, v[i]); 74 74 }
Note: See TracChangeset
for help on using the changeset viewer.