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

Method test_name

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

Source from the content-addressed store, hash-verified

3029 """Test FuncDeclRef.name(), .arity(), .domain(), .range()."""
3030
3031 def test_name(self):
3032 f = Function("myFunc", IntSort(), BoolSort())
3033 assert f.name() == "myFunc"
3034
3035 def test_arity(self):
3036 f = Function("f", IntSort(), IntSort(), BoolSort())

Callers

nothing calls this directly

Calls 4

FunctionFunction · 0.90
IntSortFunction · 0.90
BoolSortFunction · 0.90
nameMethod · 0.45

Tested by

no test coverage detected