Add collections test
This commit is contained in:
parent
908b896d43
commit
0a13bbeb6d
1 changed files with 11 additions and 0 deletions
11
test/collections.vli
Normal file
11
test/collections.vli
Normal 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))
|
Loading…
Reference in a new issue