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

Method test_as_array

tests/test_z3_ported.py:976–980  ·  view source on GitHub ↗

AsArray(f) creates an array from a function.

(self)

Source from the content-addressed store, hash-verified

974 assert is_array(result)
975
976 def test_as_array(self):
977 """AsArray(f) creates an array from a function."""
978 f = Function("f", IntSort(), IntSort())
979 a = AsArray(f)
980 assert is_array(a)
981
982
983# ===================================================================

Callers

nothing calls this directly

Calls 4

FunctionFunction · 0.90
IntSortFunction · 0.90
AsArrayFunction · 0.90
is_arrayFunction · 0.90

Tested by

no test coverage detected