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 b234f83..1345dfe 100644
--- a/t/100-increment-decrement.t
+++ b/t/100-increment-decrement.t
@@ -61,4 +61,10 @@ is(
'increments the fourth double-digit integer with point at position 16 backward'
);
+is(
+ incdec::incdec('test 12 19 555 64', 13, 1),
+ 'test 12 19 556 64',
+ 'increments the third triple-digit integer with point at position 13 backward'
+);
+
done_testing;