diff options
author | P. J. McDermott <pj@pehjota.net> | 2017-01-05 17:43:05 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2017-01-05 17:43:05 (EST) |
commit | 488761b68019aa2b73b69323757049fe2889cfcf (patch) | |
tree | cb4464879a0844f22a99cc335ff02d31b858c6da | |
parent | 1406c77517a714072201d392c2c9b818f9e99660 (diff) | |
download | Math-Decimal-FastPP-488761b68019aa2b73b69323757049fe2889cfcf.zip Math-Decimal-FastPP-488761b68019aa2b73b69323757049fe2889cfcf.tar.gz Math-Decimal-FastPP-488761b68019aa2b73b69323757049fe2889cfcf.tar.bz2 |
t/11_dmul.t: Improve test coverage
The first new test brings dmul() to 100% test coverage. The other two
are just bonuses.
-rw-r--r-- | t/11_dmul.t | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/11_dmul.t b/t/11_dmul.t index f7f8a0e..3a5e232 100644 --- a/t/11_dmul.t +++ b/t/11_dmul.t @@ -28,6 +28,9 @@ my $c; @tests = ( # a b c + [ 2 , 2 , "4." ], + [ 1 , 0.23, ".23" ], + [ 0.23, 1 , ".23" ], [ 1.23, 4.56, "5.6088"], [-1.23, 4.56, "-5.6088"], [-1.23, -4.56, "5.6088"], |