3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-03 22:43:56 +00:00

fix bug in unit test

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2025-09-20 00:44:49 -07:00
parent 0e8648c7d7
commit 3256d1cc8b

View file

@ -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);