3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-07 09:55:19 +00:00

fix expected

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-08-28 09:40:51 -07:00
parent 0bf3eeb807
commit 5360656440

View file

@ -6798,7 +6798,7 @@ class Statistics:
sat sat
>>> st = s.statistics() >>> st = s.statistics()
>>> len(st) >>> len(st)
6 7
""" """
return int(Z3_stats_size(self.ctx.ref(), self.stats)) return int(Z3_stats_size(self.ctx.ref(), self.stats))
@ -6812,11 +6812,11 @@ class Statistics:
sat sat
>>> st = s.statistics() >>> st = s.statistics()
>>> len(st) >>> len(st)
6 7
>>> st[0] >>> st[0]
('nlsat propagations', 2) ('nlsat propagations', 2)
>>> st[1] >>> st[1]
('nlsat stages', 2) ('nlsat restarts', 1)
""" """
if idx >= len(self): if idx >= len(self):
raise IndexError raise IndexError
@ -10220,7 +10220,7 @@ def FPs(names, fpsort, ctx=None):
>>> x.ebits() >>> x.ebits()
8 8
>>> fpMul(RNE(), fpAdd(RNE(), x, y), z) >>> fpMul(RNE(), fpAdd(RNE(), x, y), z)
x + y * z (x + y) * z
""" """
ctx = _get_ctx(ctx) ctx = _get_ctx(ctx)
if isinstance(names, str): if isinstance(names, str):