MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / test_sub_no_underflow_signed

Method test_sub_no_underflow_signed

tests/test_z3_ported.py:2536–2539  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2534 assert isinstance(r, BoolRef)
2535
2536 def test_sub_no_underflow_signed(self):
2537 x, y = BitVecs("x y", 8)
2538 r = BVSubNoUnderflow(x, y, signed=True)
2539 assert isinstance(r, BoolRef)
2540
2541 def test_mul_no_overflow(self):
2542 x, y = BitVecs("x y", 8)

Callers

nothing calls this directly

Calls 2

BitVecsFunction · 0.90
BVSubNoUnderflowFunction · 0.90

Tested by

no test coverage detected