diff options
| -rw-r--r-- | t/100-increment-decrement.t | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/100-increment-decrement.t b/t/100-increment-decrement.t index b04a379..ea27a64 100644 --- a/t/100-increment-decrement.t +++ b/t/100-increment-decrement.t @@ -86,6 +86,12 @@ is( ); is( + incdec::incdec('test -1 ', 1, 7, 1), + 'test 0 ', + 'increments the negative integer with point at position 7 backward' +); + +is( incdec::incdec('test 12', -1), 'test 11', 'decrements the first integer' |
