MCPcopy 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

IntFunction · 0.90
SumFunction · 0.90
is_intFunction · 0.90

Tested by

no test coverage detected