summaryrefslogtreecommitdiffstats
path: root/t/10_dadd.t
diff options
context:
space:
mode:
Diffstat (limited to 't/10_dadd.t')
-rw-r--r--t/10_dadd.t13
1 files changed, 8 insertions, 5 deletions
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);