aboutsummaryrefslogtreecommitdiff
path: root/tests/math/addition/happy.neb
diff options
context:
space:
mode:
authormryouse2022-07-03 01:00:18 +0000
committermryouse2022-07-03 01:00:18 +0000
commite169e50e9d2ab5584e3b72ed069e7695a123e1e7 (patch)
tree47c0ec4120518807e3a60a133502e9e84f126153 /tests/math/addition/happy.neb
parent74a048dd493788bab9f9c93b0ed6d925a998822b (diff)
initial commit of tests for math things
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