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

Method test_as_signed_long_min

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

Source from the content-addressed store, hash-verified

3240 assert v.as_signed_long() == -1
3241
3242 def test_as_signed_long_min(self):
3243 v = BitVecVal(128, 8)
3244 assert v.as_signed_long() == -128
3245
3246 def test_as_string(self):
3247 v = BitVecVal(42, 8)

Callers

nothing calls this directly

Calls 2

BitVecValFunction · 0.90
as_signed_longMethod · 0.80

Tested by

no test coverage detected