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

Method test_set_add

tests/test_z3_compat.py:1980–1984  ·  view source on GitHub ↗

SetAdd adds element to set.

(self)

Source from the content-addressed store, hash-verified

1978 assert isinstance(s, ArrayRef)
1979
1980 def test_set_add(self):
1981 """SetAdd adds element to set."""
1982
1983 s = SetAdd(EmptySet(IntSort()), IntVal(1))
1984 assert isinstance(s, ArrayRef)
1985
1986 def test_is_member(self):
1987 """IsMember tests membership."""

Callers

nothing calls this directly

Calls 4

SetAddFunction · 0.90
EmptySetFunction · 0.90
IntSortFunction · 0.90
IntValFunction · 0.90

Tested by

no test coverage detected