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

Method test_as_array_requires_unary

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

Source from the content-addressed store, hash-verified

1585 assert is_array(a)
1586
1587 def test_as_array_requires_unary(self):
1588 f = Function("f", IntSort(), IntSort(), IntSort())
1589 with pytest.raises(TypeError):
1590 AsArray(f)
1591
1592 def test_map_sort(self):
1593 f = Function("f", IntSort(), IntSort())

Callers

nothing calls this directly

Calls 3

FunctionFunction · 0.90
IntSortFunction · 0.90
AsArrayFunction · 0.90

Tested by

no test coverage detected