2 lines
49 B
ChaiScript
2 lines
49 B
ChaiScript
assert_equal({1}, take_while({1, 2, 3, 4}, odd))
|
assert_equal({1}, take_while({1, 2, 3, 4}, odd))
|