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

Method test_sdiv_ast

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

Source from the content-addressed store, hash-verified

1182 assert r._ast.op == BinOp.ROTR
1183
1184 def test_sdiv_ast(self):
1185 x = BitVec("x", 8)
1186 r = SDiv(x, 2)
1187 assert isinstance(r._ast, BinOpNode)
1188 assert r._ast.op == BinOp.SDIV
1189
1190 def test_srem_ast(self):
1191 x = BitVec("x", 8)

Callers

nothing calls this directly

Calls 2

BitVecFunction · 0.90
SDivFunction · 0.90

Tested by

no test coverage detected