1
1
mirror of https://github.com/kanaka/mal.git synced 2024-08-16 17:20:23 +03:00

tests: Add optional list and vector eqaulity tests

This commit is contained in:
Dov Murik 2019-07-21 13:10:17 +03:00
parent e8e2e95c3c
commit b9d9e6754a

View File

@ -431,6 +431,8 @@ nil
;=>false
(= :abc ":abc")
;=>false
(= (list :abc) (list :abc))
;=>true
;; Testing vector truthiness
(if [] 7 8)
@ -465,6 +467,8 @@ nil
;=>true
(= [7 8] [7 8])
;=>true
(= [:abc] [:abc])
;=>true
(= (list 1 2) [1 2])
;=>true
(= (list 1) [])