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

Method test_create_tuple

tests/test_z3_ported.py:3349–3352  ·  view source on GitHub ↗
(self, kernel)

Source from the content-addressed store, hash-verified

3347 """Test TupleSort factory."""
3348
3349 def test_create_tuple(self, kernel):
3350 Pair, mk_pair, [fst, snd] = TupleSort("Pair_t1", [IntSort(), IntSort()])
3351 assert isinstance(Pair, SortRef)
3352 assert Pair.name() == "Pair_t1"
3353
3354 def test_tuple_constructor(self, kernel):
3355 Pair, mk_pair, [fst, snd] = TupleSort("Pair_t2", [IntSort(), IntSort()])

Callers

nothing calls this directly

Calls 3

TupleSortFunction · 0.90
IntSortFunction · 0.90
nameMethod · 0.45

Tested by

no test coverage detected