From e18277713336b6f53554bb76d6690043ce28faef Mon Sep 17 00:00:00 2001 From: Joseph Wilson Date: Fri, 27 Oct 2023 23:58:55 +1300 Subject: Implement unary `array.zip`, closing #2478 (#2491) --- tests/typ/compiler/array.typ | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/typ') diff --git a/tests/typ/compiler/array.typ b/tests/typ/compiler/array.typ index 12c3c3a0..4191d6ff 100644 --- a/tests/typ/compiler/array.typ +++ b/tests/typ/compiler/array.typ @@ -260,6 +260,9 @@ #test((1, 2, 3).zip((3, 4, 5), (6, 7, 8)), ((1, 3, 6), (2, 4, 7), (3, 5, 8))) #test(().zip((), ()), ()) #test((1,).zip((2,), (3,)), ((1, 2, 3),)) +#test((1, 2, 3).zip(), ((1,), (2,), (3,))) +#test(array.zip(()), ()) +#test(array.zip(("a", "b")), (("a",), ("b",))) --- // Test the `enumerate` method. -- cgit v1.2.3