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

Method test_is_app

tests/test_z3_ported.py:2788–2792  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2786 assert not is_sort(42)
2787
2788 def test_is_app(self):
2789 f = Function("f", IntSort(), IntSort())
2790 x = Int("x")
2791 assert is_app(f(x))
2792 assert not is_app(x)
2793
2794 def test_is_func_decl(self):
2795 f = Function("f", IntSort(), IntSort())

Callers

nothing calls this directly

Calls 4

FunctionFunction · 0.90
IntSortFunction · 0.90
IntFunction · 0.90
is_appFunction · 0.90

Tested by

no test coverage detected