mirror of
https://github.com/Z3Prover/z3
synced 2025-09-30 05:09:02 +00:00
update python doc tests
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
0d0dd0315a
commit
928a2e7cf2
1 changed files with 3 additions and 3 deletions
|
@ -7263,7 +7263,7 @@ class Solver(Z3PPObject):
|
||||||
>>> s.reset()
|
>>> s.reset()
|
||||||
>>> s.add(2**x == 4)
|
>>> s.add(2**x == 4)
|
||||||
>>> s.check()
|
>>> s.check()
|
||||||
unknown
|
sat
|
||||||
"""
|
"""
|
||||||
s = BoolSort(self.ctx)
|
s = BoolSort(self.ctx)
|
||||||
assumptions = _get_args(assumptions)
|
assumptions = _get_args(assumptions)
|
||||||
|
@ -7507,9 +7507,9 @@ class Solver(Z3PPObject):
|
||||||
|
|
||||||
>>> x = Int('x')
|
>>> x = Int('x')
|
||||||
>>> s = SimpleSolver()
|
>>> s = SimpleSolver()
|
||||||
>>> s.add(2**x == 4)
|
>>> s.add(x == 2**x)
|
||||||
>>> s.check()
|
>>> s.check()
|
||||||
unknown
|
sat
|
||||||
>>> s.reason_unknown()
|
>>> s.reason_unknown()
|
||||||
'(incomplete (theory arithmetic))'
|
'(incomplete (theory arithmetic))'
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue