Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ test_sum_list
Method
test_sum_list
tests/test_z3_ported.py:2285–2288 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2283
assert is_int(r)
2284
2285
def
test_sum_list(self):
2286
xs = [Int(f
"x{i}"
)
for
i in range(4)]
2287
r = Sum(xs)
2288
assert is_int(r)
2289
2290
def
test_sum_empty(self):
2291
r = Sum()
Callers
nothing calls this directly
Calls
3
Int
Function · 0.90
Sum
Function · 0.90
is_int
Function · 0.90
Tested by
no test coverage detected