mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 12:28:44 +00:00
Update api.cpp
fix test
This commit is contained in:
parent
cb81473260
commit
a6eed9f00c
|
@ -88,7 +88,7 @@ void test_bvneg() {
|
|||
|
||||
static bool cb_called = false;
|
||||
static void my_cb(Z3_context, Z3_error_code) {
|
||||
cb_called = true;
|
||||
cb_called = true;
|
||||
}
|
||||
|
||||
static void test_mk_distinct() {
|
||||
|
@ -100,8 +100,8 @@ static void test_mk_distinct() {
|
|||
Z3_sort bv32 = Z3_mk_bv_sort(ctx, 32);
|
||||
Z3_ast args[] = { Z3_mk_int64(ctx, 0, bv8), Z3_mk_int64(ctx, 0, bv32) };
|
||||
Z3_ast d = Z3_mk_distinct(ctx, 2, args);
|
||||
VERIFY(d);
|
||||
ENSURE(cb_called);
|
||||
VERIFY(!d);
|
||||
Z3_del_config(cfg);
|
||||
Z3_del_context(ctx);
|
||||
|
||||
|
|
Loading…
Reference in a new issue