Add collections test

This commit is contained in:
Konstantin Nazarov 2024-09-02 09:29:32 +01:00
parent 908b896d43
commit 0a13bbeb6d
Signed by: knazarov
GPG key ID: 4CFE0A42FA409C22

11
test/collections.vli Normal file
View file

@ -0,0 +1,11 @@
(assert (= [1 2 (+ 3 4)]
[1 2 7]))
(assert (= (get [1 2 3] 2)
3))
(assert (= {1 2 (+ 1 2) 4}
{1 2 3 4}))
(assert (= (get {1 2 3 4} 3)
4))