diff --git a/src/test/java/org/apache/commons/math/complex/ComplexTest.java b/src/test/java/org/apache/commons/math/complex/ComplexTest.java index 71bdd1e1f..00700f9e7 100644 --- a/src/test/java/org/apache/commons/math/complex/ComplexTest.java +++ b/src/test/java/org/apache/commons/math/complex/ComplexTest.java @@ -315,6 +315,12 @@ public class ComplexTest { Assert.assertSame(Complex.NaN, z); } + @Test + public void testMultiplyInInf() { + // Assert.assertTrue(infInf.multiply(infInf).isNaN()); // MATH-620 + Assert.assertTrue(infInf.multiply(infInf).isInfinite()); + } + @Test public void testMultiplyNaNInf() { Complex z = new Complex(1,1);