Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ test_set_add
Method
test_set_add
tests/test_z3_ported.py:4026–4029 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
4024
assert isinstance(result, BoolRef)
4025
4026
def
test_set_add(self):
4027
s = EmptySet(IntSort())
4028
s2 = SetAdd(s, IntVal(1))
4029
assert isinstance(s2, ArrayRef)
4030
4031
def
test_set_del(self):
4032
s = FullSet(IntSort())
Callers
nothing calls this directly
Calls
4
EmptySet
Function · 0.90
IntSort
Function · 0.90
SetAdd
Function · 0.90
IntVal
Function · 0.90
Tested by
no test coverage detected