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

Method test_sort_equality

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

Source from the content-addressed store, hash-verified

1915 """Test sort construction and checking."""
1916
1917 def test_sort_equality(self):
1918 assert IntSort() == IntSort()
1919 assert BoolSort() == BoolSort()
1920 assert IntSort() != BoolSort()
1921 assert BitVecSort(8) == BitVecSort(8)
1922 assert BitVecSort(8) != BitVecSort(16)
1923
1924 def test_sort_repr(self):
1925 assert repr(IntSort()) == "Int"

Callers

nothing calls this directly

Calls 3

IntSortFunction · 0.90
BoolSortFunction · 0.90
BitVecSortFunction · 0.90

Tested by

no test coverage detected