From 9e647c9dfb12c820b5a66d033d3a42b6377fcd65 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 05 Jan 2017 17:39:07 -0500 Subject: t/10_dadd.t: Add three tests to improve coverage dadd() now has 100% test coverage. --- diff --git a/t/10_dadd.t b/t/10_dadd.t index 256fc12..4740a4a 100644 --- a/t/10_dadd.t +++ b/t/10_dadd.t @@ -28,11 +28,14 @@ my $c; my $i; @tests = ( - # a b c - [ 1.23, 4.56, 5.79], - [-1.23, 4.56, 3.33], - [-1.23, -4.56, -5.79], - [ 9.95, 0.52, 10.47], + # a b c + [ 2 , 2 , "4." ], + [ 1 , 0.23, "1.23"], + [ 0.23, 1 , "1.23"], + [ 1.23, 4.56, "5.79"], + [-1.23, 4.56, "3.33"], + [-1.23, -4.56, "-5.79"], + [ 9.95, 0.52, "10.47"], ); plan("tests" => scalar(@tests) + 1); -- cgit v0.9.1