mirror of
https://github.com/Z3Prover/z3
synced 2025-08-16 07:45:27 +00:00
add a unit test for the basic sign lemma with constraints
Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
parent
0a86bd14f7
commit
d1da26e176
5 changed files with 129 additions and 26 deletions
|
@ -57,11 +57,6 @@ public:
|
|||
return m_coeffs;
|
||||
}
|
||||
|
||||
lar_term(const vector<std::pair<mpq, unsigned>>& coeffs) {
|
||||
for (const auto & p : coeffs) {
|
||||
add_coeff_var(p.first, p.second);
|
||||
}
|
||||
}
|
||||
bool operator==(const lar_term & a) const { return false; } // take care not to create identical terms
|
||||
bool operator!=(const lar_term & a) const { return ! (*this == a);}
|
||||
// some terms get used in add constraint
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue