mirror of
https://github.com/apache/commons-math.git
synced 2025-02-07 02:29:20 +00:00
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…
x
Reference in New Issue
Block a user