mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
fixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2ede4b2c80
commit
d940516df3
10 changed files with 15 additions and 62 deletions
|
@ -43,13 +43,13 @@ static void FUN_NAME(int a, ext_numeral_kind ak, int b, ext_numeral_kind bk, int
|
|||
scoped_mpq _a(m), _b(m), _c(m); \
|
||||
m.set(_a, a); \
|
||||
m.set(_b, b); \
|
||||
ext_numeral_kind ck; \
|
||||
ext_numeral_kind ck(EN_NUMERAL); \
|
||||
OP_NAME(m, _a, ak, _b, bk, _c, ck); \
|
||||
ENSURE(ck == expected_ck); \
|
||||
ENSURE(ck == expected_ck); \
|
||||
if (expected_ck == EN_NUMERAL) { \
|
||||
scoped_mpq _expected_c(m); \
|
||||
m.set(_expected_c, expected_c); \
|
||||
ENSURE(m.eq(_c, _expected_c)); \
|
||||
ENSURE(m.eq(_c, _expected_c)); \
|
||||
} \
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue