dust/tests/collections.ds
2023-08-22 14:26:49 -04:00

8 lines
132 B
Plaintext

list = (1, 2, 3);
test = transform(list, 'input + 1');
assert_equal((2, 3, 4), test);
test = get(list, 0);
assert_equal(1, test);