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

Method test_zeroext

tests/test_z3_compat.py:934–938  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

932 assert r.size() == 8
933
934 def test_zeroext(self):
935 x = BitVec("x", 8)
936 r = ZeroExt(8, x)
937 assert isinstance(r._ast, ZeroExtNode)
938 assert r.size() == 16
939
940 def test_signext(self):
941 x = BitVec("x", 8)

Callers

nothing calls this directly

Calls 3

BitVecFunction · 0.90
ZeroExtFunction · 0.90
sizeMethod · 0.45

Tested by

no test coverage detected