Added a test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1165296 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
701da0456a
commit
bf4184310d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue