dust/tests/collections.ds

8 lines
132 B
Plaintext
Raw Normal View History

2023-08-22 18:26:49 +00:00
list = (1, 2, 3);
test = transform(list, 'input + 1');
assert_equal((2, 3, 4), test);
test = get(list, 0);
assert_equal(1, test);