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

Method test_is_arith

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

Source from the content-addressed store, hash-verified

2772
2773class TestExtendedPredicates:
2774 def test_is_arith(self):
2775 assert is_arith(Int("x"))
2776 assert is_arith(Real("x"))
2777 assert is_arith(Nat("n"))
2778 assert not is_arith(Bool("b"))
2779 assert not is_arith(BitVec("v", 8))
2780
2781 def test_is_sort(self):
2782 assert is_sort(IntSort())

Callers

nothing calls this directly

Calls 6

is_arithFunction · 0.90
IntFunction · 0.90
RealFunction · 0.90
NatFunction · 0.90
BoolFunction · 0.90
BitVecFunction · 0.90

Tested by

no test coverage detected