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

Method test_store

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

Source from the content-addressed store, hash-verified

586 assert isinstance(sel._ast, SelectNode)
587
588 def test_store(self):
589 a = Array("a", IntSort(), IntSort())
590 i = Int("i")
591 v = Int("v")
592 s = Store(a, i, v)
593 assert isinstance(s._ast, StoreNode)
594
595 def test_constant_array(self):
596 c = K(IntSort(), IntVal(0))

Callers

nothing calls this directly

Calls 4

ArrayFunction · 0.90
IntSortFunction · 0.90
IntFunction · 0.90
StoreFunction · 0.90

Tested by

no test coverage detected