mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
update heap unit tests (#7324)
* new heap invariants * change ENSURE to SASSERT for unit test heap * change SASSERT to VERIFY * update heap tests * update * remove one invariant
This commit is contained in:
parent
fce4b36dad
commit
d2fc085b8c
2 changed files with 14 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);
|
||||
|
||||
|
@ -146,4 +146,3 @@ void tst_heap() {
|
|||
tst2();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue