Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ test_signext
Method
test_signext
tests/test_z3_compat.py:940–944 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
938
assert r.size() == 16
939
940
def
test_signext(self):
941
x = BitVec(
"x"
, 8)
942
r = SignExt(8, x)
943
assert isinstance(r._ast, SignExtNode)
944
assert r.size() == 16
945
946
def
test_bv2int(self):
947
x = BitVec(
"x"
, 8)
Callers
nothing calls this directly
Calls
3
BitVec
Function · 0.90
SignExt
Function · 0.90
size
Method · 0.45
Tested by
no test coverage detected