Repository: commons-math
Updated Branches:
  refs/heads/master 85a20aad6 -> 1325e1141


Split into separate tests. Easier to determine which fails; also checks
if subsequent ones are failing

Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/1325e114
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/1325e114
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/1325e114

Branch: refs/heads/master
Commit: 1325e114108136eea3fe77a4a270a2da7eff98e2
Parents: 85a20aa
Author: Sebb <s...@apache.org>
Authored: Mon Jan 12 19:38:40 2015 +0000
Committer: Sebb <s...@apache.org>
Committed: Mon Jan 12 19:38:40 2015 +0000

----------------------------------------------------------------------
 .../commons/math3/complex/ComplexTest.java      | 30 +++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/1325e114/src/test/java/org/apache/commons/math3/complex/ComplexTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/math3/complex/ComplexTest.java 
b/src/test/java/org/apache/commons/math3/complex/ComplexTest.java
index ee72de8..8387b67 100644
--- a/src/test/java/org/apache/commons/math3/complex/ComplexTest.java
+++ b/src/test/java/org/apache/commons/math3/complex/ComplexTest.java
@@ -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());
     }
 

Reply via email to