aboutsummaryrefslogtreecommitdiffstats
path: root/t/100-increment-decrement.t
diff options
context:
space:
mode:
Diffstat (limited to 't/100-increment-decrement.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 9420f3a..5d7287a 100644
--- a/t/100-increment-decrement.t
+++ b/t/100-increment-decrement.t
@@ -26,6 +26,12 @@ is(
);
is(
+ incdec::incdec('test 19 0', 6),
+ 'test 20 0',
+ 'increments the first integer with point at position 6'
+);
+
+is(
incdec::incdec('test 12 0', 7),
'test 12 1',
'increments the second integer with point at position 7'