Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ test_zeroext_params
Method
test_zeroext_params
tests/test_z3_ported.py:2926–2929 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2924
assert e.params() == [7, 0]
2925
2926
def
test_zeroext_params(self):
2927
x = BitVec(
"x"
, 8)
2928
e = ZeroExt(8, x)
2929
assert e.params() == [16]
# total new width
2930
2931
def
test_var_no_params(self):
2932
x = Int(
"x"
)
Callers
nothing calls this directly
Calls
3
BitVec
Function · 0.90
ZeroExt
Function · 0.90
params
Method · 0.80
Tested by
no test coverage detected