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

Method test_is_sort_cross

tests/test_z3_ported.py:1543–1548  ·  view source on GitHub ↗

Each sort predicate is false for other sorts.

(self)

Source from the content-addressed store, hash-verified

1541 assert is_string(String("s"))
1542
1543 def test_is_sort_cross(self):
1544 """Each sort predicate is false for other sorts."""
1545 x = Int("x")
1546 assert not is_real(x)
1547 assert not is_bool(x)
1548 assert not is_bv(x)
1549
1550 def test_is_const_var(self):
1551 x = Int("x")

Callers

nothing calls this directly

Calls 4

IntFunction · 0.90
is_realFunction · 0.90
is_boolFunction · 0.90
is_bvFunction · 0.90

Tested by

no test coverage detected