valeri/test/collections.vli

12 lines
185 B
Text
Raw Normal View History

2024-09-02 08:29:32 +00:00
(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))