Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
Function
Function · 0.90
IntSort
Function · 0.90
BoolSort
Function · 0.90
arity
Method · 0.45
Tested by
no test coverage detected