aboutsummaryrefslogtreecommitdiff
path: root/tests/math/subtraction/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/subtraction/happy.neb
parent74a048dd493788bab9f9c93b0ed6d925a998822b (diff)
initial commit of tests for math things
Diffstat (limited to 'tests/math/subtraction/happy.neb')
-rw-r--r--tests/math/subtraction/happy.neb10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/math/subtraction/happy.neb b/tests/math/subtraction/happy.neb
new file mode 100644
index 0000000..035b83c
--- /dev/null
+++ b/tests/math/subtraction/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 -1 -0.9 -1.1 -2.5 -24