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

Method test_is_array

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

Source from the content-addressed store, hash-verified

1038 assert not is_bv(Int("x"))
1039
1040 def test_is_array(self):
1041 a = Array("a", IntSort(), IntSort())
1042 assert is_array(a)
1043 assert not is_array(Int("x"))
1044
1045 def test_is_const_var(self):
1046 assert is_const(Int("x"))

Callers

nothing calls this directly

Calls 4

ArrayFunction · 0.90
IntSortFunction · 0.90
is_arrayFunction · 0.90
IntFunction · 0.90

Tested by

no test coverage detected