ChaiScript/unittests/vector_erase_at.chai

4 lines
57 B
ChaiScript

auto x = {1, 2, 3}
x.erase_at(1)
assert_equal({1,3}, x);