Jonathan Turner c73f16fdfe Fixing 4.x grammar to be backward compatible.
Added 3.x unit tests back to show this.
2012-05-17 10:14:50 -07:00

6 lines
114 B
ChaiScript

auto z = zip([1, 2, 3], [4, 5, 6])
assert_equal([1,4], z[0])
assert_equal([2,5], z[1])
assert_equal([3,6], z[2])