aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/100-increment-decrement.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/100-increment-decrement.t b/t/100-increment-decrement.t
index ea27a64..b5b852f 100644
--- a/t/100-increment-decrement.t
+++ b/t/100-increment-decrement.t
@@ -92,6 +92,12 @@ is(
);
is(
+ incdec::incdec('test -1 ', -1, 7, 1),
+ 'test -2 ',
+ 'decrements the negative integer with point at position 7 backward'
+);
+
+is(
incdec::incdec('test 12', -1),
'test 11',
'decrements the first integer'