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

Method test_arity

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

Source from the content-addressed store, hash-verified

3033 assert f.name() == "myFunc"
3034
3035 def test_arity(self):
3036 f = Function("f", IntSort(), IntSort(), BoolSort())
3037 assert f.arity() == 2
3038
3039 def test_domain(self):
3040 f = Function("f", IntSort(), RealSort(), BoolSort())

Callers

nothing calls this directly

Calls 4

FunctionFunction · 0.90
IntSortFunction · 0.90
BoolSortFunction · 0.90
arityMethod · 0.45

Tested by

no test coverage detected