From e861e5bcc25b17aec526f9c1c75ec06fe918d0bc Mon Sep 17 00:00:00 2001 From: Sylvain Pion Date: Wed, 21 Oct 1998 15:28:16 +0000 Subject: [PATCH] Added last test to test. --- .../test/Interval_arithmetic/include/tst_generic.C | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Packages/Interval_arithmetic/test/Interval_arithmetic/include/tst_generic.C b/Packages/Interval_arithmetic/test/Interval_arithmetic/include/tst_generic.C index 5ce381d1d02..d8b3a12a133 100644 --- a/Packages/Interval_arithmetic/test/Interval_arithmetic/include/tst_generic.C +++ b/Packages/Interval_arithmetic/test/Interval_arithmetic/include/tst_generic.C @@ -148,15 +148,17 @@ int division_test() } -// Here it's just to have a 100% coverage by the test-suite. +// Here it's just to have a 100% coverage for the test-suite. int multiplication_test() { - IA a (-2,-1), b (-1,1), c; - IA d (-2,2), e (1,2), f (-2,-1), g, h; + const IA a (-2,-1), b (-1,1); + const IA d (-2,2), e (1,2), f (-2,-1); + IA c, g, h, i; c = a * b; g = d * e; h = d * f; + i = a * e; return -1; }