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

Method test_add_no_overflow_unsigned

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

Source from the content-addressed store, hash-verified

2509
2510class TestBVOverflow:
2511 def test_add_no_overflow_unsigned(self):
2512 x, y = BitVecs("x y", 8)
2513 r = BVAddNoOverflow(x, y)
2514 assert isinstance(r, BoolRef)
2515
2516 def test_add_no_overflow_signed(self):
2517 x, y = BitVecs("x y", 8)

Callers

nothing calls this directly

Calls 2

BitVecsFunction · 0.90
BVAddNoOverflowFunction · 0.90

Tested by

no test coverage detected