add tests for builtins.add

This commit is contained in:
Tim Sears 2018-04-28 15:34:37 -07:00 committed by Shea Levy
parent 8e7d77d494
commit 9a714f75af
No known key found for this signature in database
GPG Key ID: 5C0BD6957D86FE27
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1 @@
[ 5 4 "int" "tt" "float" 4.0 ]

View File

@ -0,0 +1,8 @@
[
(builtins.add 2 3)
(builtins.add 2 2)
(builtins.typeOf (builtins.add 2 2))
("t" + "t")
(builtins.typeOf (builtins.add 2.0 2))
(builtins.add 2.0 2)
]