mirror of
https://github.com/Z3Prover/z3
synced 2025-10-03 14:33:56 +00:00
fix bug in unit test
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
0e8648c7d7
commit
3256d1cc8b
1 changed files with 0 additions and 3 deletions
|
@ -48,10 +48,7 @@ void tst_api_datalog() {
|
||||||
Z3_fixedpoint fp = Z3_mk_fixedpoint(ctx);
|
Z3_fixedpoint fp = Z3_mk_fixedpoint(ctx);
|
||||||
ENSURE(fp != nullptr);
|
ENSURE(fp != nullptr);
|
||||||
|
|
||||||
// Test reference counting
|
|
||||||
Z3_fixedpoint_inc_ref(ctx, fp);
|
Z3_fixedpoint_inc_ref(ctx, fp);
|
||||||
Z3_fixedpoint_dec_ref(ctx, fp);
|
|
||||||
|
|
||||||
// Test string conversion (empty fixedpoint)
|
// Test string conversion (empty fixedpoint)
|
||||||
Z3_string fp_str = Z3_fixedpoint_to_string(ctx, fp, 0, nullptr);
|
Z3_string fp_str = Z3_fixedpoint_to_string(ctx, fp, 0, nullptr);
|
||||||
ENSURE(fp_str != nullptr);
|
ENSURE(fp_str != nullptr);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue