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

Method test_int2bv

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

Source from the content-addressed store, hash-verified

953 assert isinstance(r2._ast, UnOpNode) and r2._ast.op == UnOp.BV2INT
954
955 def test_int2bv(self):
956 x = Int("x")
957 r = Int2BV(x, 8)
958 assert r.size() == 8
959
960
961# ------------------------------------------------------------------

Callers

nothing calls this directly

Calls 3

IntFunction · 0.90
Int2BVFunction · 0.90
sizeMethod · 0.45

Tested by

no test coverage detected