Files
rust-mal/tests/lists.mal
teo3300 816a09504a Other tests
Lotta tests in
- eval
- functional tests

Signed-off-by: teo3300 <matteo.rogora@live.it>
2023-12-06 11:35:55 +09:00

9 lines
184 B
Plaintext

; list?
(assert (list? (list 1 2 3)))
(assert (not (list? 1)))
; empty?
(assert (empty? ()))
(assert (empty? (list)))
(assert (not (empty? ())))
(assert (not (empty? (list (1 2 3)))))