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

Method test_range

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

Source from the content-addressed store, hash-verified

3042 assert f.domain(1) == RealSort()
3043
3044 def test_range(self):
3045 f = Function("f", IntSort(), BoolSort())
3046 assert f.range() == BoolSort()
3047
3048 def test_domain_out_of_range(self):
3049 f = Function("f", IntSort(), BoolSort())

Callers

nothing calls this directly

Calls 4

FunctionFunction · 0.90
IntSortFunction · 0.90
BoolSortFunction · 0.90
rangeMethod · 0.45

Tested by

no test coverage detected