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

Method test_ashr

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

Source from the content-addressed store, hash-verified

2180 assert r._ast.op == BinOp.SREM
2181
2182 def test_ashr(self):
2183 x = BitVec("x", 8)
2184 r = AShr(x, 2)
2185 assert r.size() == 8
2186 assert r._ast.op == BinOp.ASHR
2187
2188 def test_rotate_left_zero_identity(self, kernel):
2189 """RotateLeft(x, 0) == x."""

Callers

nothing calls this directly

Calls 3

BitVecFunction · 0.90
AShrFunction · 0.90
sizeMethod · 0.45

Tested by

no test coverage detected