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

Method test_bitvec_var

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

Source from the content-addressed store, hash-verified

515
516class TestBitVec:
517 def test_bitvec_var(self):
518 x = BitVec("x", 8)
519 assert isinstance(x._ast, Var) and x._ast.name == "x"
520 assert x.sort() == BitVecSort(8)
521
522 def test_bitvec_val(self):
523 v = BitVecVal(42, 8)

Callers

nothing calls this directly

Calls 3

BitVecFunction · 0.90
BitVecSortFunction · 0.90
sortMethod · 0.45

Tested by

no test coverage detected