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

Method test_rotate_left

tests/test_z3_ported.py:2158–2162  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2156 """BV signed operations and rotations."""
2157
2158 def test_rotate_left(self):
2159 x = BitVec("x", 8)
2160 r = RotateLeft(x, 3)
2161 assert r.size() == 8
2162 assert r._ast.op == BinOp.ROTL
2163
2164 def test_rotate_right(self):
2165 x = BitVec("x", 8)

Callers

nothing calls this directly

Calls 3

BitVecFunction · 0.90
RotateLeftFunction · 0.90
sizeMethod · 0.45

Tested by

no test coverage detected