mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 00:26:38 +00:00
update heap tests
This commit is contained in:
parent
d5c0ae7bea
commit
f9f82bcc64
1 changed files with 2 additions and 2 deletions
|
@ -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_hash_proc, default_eq<int> > int_set;
|
||||
typedef heap<lt_proc> 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue