aboutsummaryrefslogtreecommitdiff
path: root/tests/math/addition/happy.neb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/math/addition/happy.neb')
-rw-r--r--tests/math/addition/happy.neb10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/math/addition/happy.neb b/tests/math/addition/happy.neb
new file mode 100644
index 0000000..4c037b2
--- /dev/null
+++ b/tests/math/addition/happy.neb
@@ -0,0 +1,10 @@
+(print
+ (concat
+ (->string (+ 2)) " "
+ (->string (+ 4 5)) " "
+ (->string (+ .9)) " "
+ (->string (+ 2.9 4)) " "
+ (->string (+ 2 4.5)) " "
+ (->string (+ 6 7 8 15))))
+
+; 2 9 0.9 6.9 6.5 36