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:
parent
e8e2e95c3c
commit
b9d9e6754a
@ -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) [])
|
||||
|
Loading…
Reference in New Issue
Block a user