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

Method test_vector_names

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

Source from the content-addressed store, hash-verified

2365 assert all(is_real(r) for r in rs)
2366
2367 def test_vector_names(self):
2368 xs = IntVector("x", 3)
2369 names = [x._ast.name for x in xs]
2370 assert names == ["x__0", "x__1", "x__2"]
2371
2372 def test_vector_zero(self):
2373 assert IntVector("x", 0) == []

Callers

nothing calls this directly

Calls 1

IntVectorFunction · 0.90

Tested by

no test coverage detected