(self, kernel)
| 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()]) |
| 3356 | assert isinstance(mk_pair, FuncDeclRef) |
| 3357 | assert mk_pair.arity() == 2 |
| 3358 | assert mk_pair.name() == "Pair_t2" |
| 3359 | |
| 3360 | def test_tuple_accessors(self, kernel): |
| 3361 | Pair, mk_pair, [fst, snd] = TupleSort("Pair_t3", [IntSort(), IntSort()]) |