diff --git a/src/test/heap.cpp b/src/test/heap.cpp index f30f45c32..4c927d694 100644 --- a/src/test/heap.cpp +++ b/src/test/heap.cpp @@ -27,7 +27,7 @@ struct lt_proc { bool operator()(int v1, int v2) const { return v1 < v2; } }; //struct int_hash_proc { unsigned operator()(int v) const { std::cout << "hash " << v << "\n"; VERIFY(v >= 0); return v; }}; //typedef int_hashtable > int_set; typedef heap int_heap; -#define N 10000 +#define N 100 static random_gen heap_rand(1); @@ -89,7 +89,7 @@ static void tst2() { for (int i = 0; i < N * 10; i++) { // if (i % 1 == 0) std::cout << "i: " << i << std::endl; - if (i % 1000 == 0) std::cout << "i: " << i << std::endl; + // if (i % 1000 == 0) std::cout << "i: " << i << std::endl; int cmd = heap_rand() % 10; if (cmd <= 3) { // insert