mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 18:15:32 +00:00
Add tests
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
9ede98a029
commit
0203fa56d2
3 changed files with 41 additions and 2 deletions
|
@ -176,11 +176,11 @@ static void tst1() {
|
|||
display_anums(std::cout, rs1);
|
||||
}
|
||||
|
||||
void tst_refine_mpbq() {
|
||||
void tst_refine_mpbq(int n, int d) {
|
||||
unsynch_mpq_manager qm;
|
||||
mpbq_manager bqm(qm);
|
||||
scoped_mpq q1(qm);
|
||||
qm.set(q1, 5, 7);
|
||||
qm.set(q1, n, d);
|
||||
scoped_mpbq l(bqm);
|
||||
scoped_mpbq u(bqm);
|
||||
std::cout << "using refine upper...\n";
|
||||
|
@ -207,6 +207,10 @@ void tst_refine_mpbq() {
|
|||
}
|
||||
}
|
||||
|
||||
void tst_refine_mpbq() {
|
||||
tst_refine_mpbq(-5, 7);
|
||||
}
|
||||
|
||||
void tst_mpbq_root() {
|
||||
unsynch_mpq_manager qm;
|
||||
mpbq_manager bqm(qm);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue