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

Method test_srem

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

Source from the content-addressed store, hash-verified

2174 assert r._ast.op == BinOp.SDIV
2175
2176 def test_srem(self):
2177 x, y = BitVecs("x y", 8)
2178 r = SRem(x, y)
2179 assert r.size() == 8
2180 assert r._ast.op == BinOp.SREM
2181
2182 def test_ashr(self):
2183 x = BitVec("x", 8)

Callers

nothing calls this directly

Calls 3

BitVecsFunction · 0.90
SRemFunction · 0.90
sizeMethod · 0.45

Tested by

no test coverage detected