mirror of
https://github.com/teo3300/rust-mal.git
synced 2026-01-12 09:15:32 +01:00
Removed MalType::Bool
mplemented instead MalType::T as opposed to Maltype::Nil
This commit is contained in:
@ -8,13 +8,13 @@
|
||||
|
||||
; nil
|
||||
(assert (= nil nil))
|
||||
(assert (not (= nil true)))
|
||||
(assert (not (= nil t)))
|
||||
(assert (not (= nil 1)))
|
||||
|
||||
; bool
|
||||
(assert (= true true))
|
||||
(assert (not (= false true)))
|
||||
(assert (not (= true 1)))
|
||||
(assert (= t t))
|
||||
(assert (not (= nil t)))
|
||||
(assert (not (= t 1)))
|
||||
|
||||
; int
|
||||
(assert (= 1 1))
|
||||
|
||||
Reference in New Issue
Block a user