aboutsummaryrefslogtreecommitdiff
path: root/tests/math/subtraction/happy.neb
diff options
context:
space:
mode:
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