ChaiScript/unittests/retro.chai
2011-09-24 12:05:08 -06:00

5 lines
88 B
ChaiScript

auto x = [1, 2, 3, 4]
auto r = retro(range(x))
r.pop_front()
assert_equal(3, r.front())