mirror of
https://github.com/Z3Prover/z3
synced 2026-06-19 07:06:28 +00:00
Clarify BV SMT2 regression assertion
This commit is contained in:
parent
586a6b893d
commit
f8ba42c5c4
1 changed files with 1 additions and 0 deletions
|
|
@ -99,6 +99,7 @@ void test_bvneg() {
|
|||
Z3_solver_push(ctx, s);
|
||||
Z3_solver_assert(ctx, s, Z3_mk_eq(ctx, sx, minus_one));
|
||||
std::string smt2 = Z3_solver_to_string(ctx, s);
|
||||
// Bit-vector numerals must print in canonical unsigned SMT2 form.
|
||||
ENSURE(smt2.find("(_ bv-") == std::string::npos);
|
||||
Z3_solver_pop(ctx, s, 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue