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

Method test_sub_no_overflow

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

Source from the content-addressed store, hash-verified

2524 assert isinstance(r, BoolRef)
2525
2526 def test_sub_no_overflow(self):
2527 x, y = BitVecs("x y", 8)
2528 r = BVSubNoOverflow(x, y)
2529 assert isinstance(r, BoolRef)
2530
2531 def test_sub_no_underflow_unsigned(self):
2532 x, y = BitVecs("x y", 8)

Callers

nothing calls this directly

Calls 2

BitVecsFunction · 0.90
BVSubNoOverflowFunction · 0.90

Tested by

no test coverage detected