ChaiScript/unittests/vector_insert_at.chai
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

4 lines
65 B
ChaiScript

auto x = [1, 2, 3]
x.insert_at(1, 6)
assert_equal([1,6,2,3], x);