mirror of
https://github.com/Z3Prover/z3
synced 2025-09-29 12:49: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.add(2**x == 4)
|
||||
>>> s.check()
|
||||
unknown
|
||||
sat
|
||||
"""
|
||||
s = BoolSort(self.ctx)
|
||||
assumptions = _get_args(assumptions)
|
||||
|
@ -7507,9 +7507,9 @@ class Solver(Z3PPObject):
|
|||
|
||||
>>> x = Int('x')
|
||||
>>> s = SimpleSolver()
|
||||
>>> s.add(2**x == 4)
|
||||
>>> s.add(x == 2**x)
|
||||
>>> s.check()
|
||||
unknown
|
||||
sat
|
||||
>>> s.reason_unknown()
|
||||
'(incomplete (theory arithmetic))'
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue