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

Method test_int_vector

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

Source from the content-addressed store, hash-verified

2349
2350class TestVectorConstructors:
2351 def test_int_vector(self):
2352 xs = IntVector("x", 5)
2353 assert len(xs) == 5
2354 assert all(is_int(x) for x in xs)
2355 assert all(isinstance(x, ArithRef) for x in xs)
2356
2357 def test_bool_vector(self):
2358 bs = BoolVector("b", 3)

Callers

nothing calls this directly

Calls 2

IntVectorFunction · 0.90
is_intFunction · 0.90

Tested by

no test coverage detected