ChaiScript/unittests/zip_with.chai

4 lines
70 B
ChaiScript

var z = zip_with(`+`, [1, 2, 3], [4, 5, 6])
assert_equal([5,7,9], z)