Adapt tests to show that floats work properly.
This commit is contained in:
parent
b4bda4765a
commit
5cdcaf5e8e
7 changed files with 23 additions and 3 deletions
|
|
@ -8,6 +8,16 @@ with builtins;
|
|||
(isString [ "x" ])
|
||||
(isInt (1 + 2))
|
||||
(isInt { x = 123; })
|
||||
(isInt (1 / 2))
|
||||
(isInt (1 + 1))
|
||||
(isInt (1 / 2))
|
||||
(isInt (1 * 2))
|
||||
(isInt (1 - 2))
|
||||
(isFloat (1.2))
|
||||
(isFloat (1 + 1.0))
|
||||
(isFloat (1 / 2.0))
|
||||
(isFloat (1 * 2.0))
|
||||
(isFloat (1 - 2.0))
|
||||
(isBool (true && false))
|
||||
(isBool null)
|
||||
(isAttrs { x = 123; })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue