mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
Making ast_smt2_pp the default pretty printer. Now, mk_pp is just an alias for mk_ismt2_pp
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
1645f61d85
commit
93bfcaa404
6 changed files with 27 additions and 575 deletions
|
@ -42,11 +42,11 @@ static void test_qe(ast_manager& m, lbool expected_outcome, expr* fml, char cons
|
|||
qe(m.mk_true(), fml, result);
|
||||
std::cout << " -> " << mk_pp(result, m) << " " << expected_outcome << "\n";
|
||||
if (expected_outcome == l_true && !m.is_true(result)) {
|
||||
std::cout << "ERROR: expected true, instead got " << ast_pp(result, m).c_str() << "\n";
|
||||
std::cout << "ERROR: expected true, instead got " << mk_pp(result, m) << "\n";
|
||||
//exit(-1);
|
||||
}
|
||||
if (expected_outcome == l_false && !m.is_false(result)) {
|
||||
std::cout << "ERROR: expected false, instead got " << ast_pp(result, m).c_str() << "\n";
|
||||
std::cout << "ERROR: expected false, instead got " << mk_pp(result, m) << "\n";
|
||||
//exit(-1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue