Split into separate tests. Easier to determine which fails; also checks

if subsequent ones are failing
This commit is contained in:
Sebb 2015-01-12 19:38:40 +00:00
parent 85a20aad64
commit 1325e11410
1 changed files with 29 additions and 1 deletions

View File

@ -781,14 +781,42 @@ public class ComplexTest {
}
@Test
public void testExpInf() {
public void testExpInf1() {
TestUtils.assertSame(Complex.NaN, oneInf.exp());
}
@Test
public void testExpInf2() {
TestUtils.assertSame(Complex.NaN, oneNegInf.exp());
}
@Test
public void testExpInf3() {
TestUtils.assertSame(infInf, infOne.exp());
}
@Test
public void testExpInf4() {
TestUtils.assertSame(Complex.ZERO, negInfOne.exp());
}
@Test
public void testExpInf5() {
TestUtils.assertSame(Complex.NaN, infInf.exp());
}
@Test
public void testExpInf6() {
TestUtils.assertSame(Complex.NaN, infNegInf.exp());
}
@Test
public void testExpInf7() {
TestUtils.assertSame(Complex.NaN, negInfInf.exp());
}
@Test
public void testExpInf8() {
TestUtils.assertSame(Complex.NaN, negInfNegInf.exp());
}