Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ test_as_string
Method
test_as_string
tests/test_z3_ported.py:3246–3248 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
3244
assert v.as_signed_long() == -128
3245
3246
def
test_as_string(self):
3247
v = BitVecVal(42, 8)
3248
assert v.as_string() ==
"42"
3249
3250
def
test_bv_ops_still_work(self):
3251
""
"BitVecNumRef still supports BitVecRef operations."
""
Callers
nothing calls this directly
Calls
2
BitVecVal
Function · 0.90
as_string
Method · 0.45
Tested by
no test coverage detected