Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ test_bv2int
Method
test_bv2int
tests/test_z3_ported.py:2246–2249 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2244
assert r.size() == 16
2245
2246
def
test_bv2int(self):
2247
x = BitVec(
"x"
, 8)
2248
r = BV2Int(x)
2249
assert is_int(r)
2250
2251
def
test_int2bv(self):
2252
x = Int(
"x"
)
Callers
nothing calls this directly
Calls
3
BitVec
Function · 0.90
BV2Int
Function · 0.90
is_int
Function · 0.90
Tested by
no test coverage detected