Repository: commons-math
Updated Branches:
  refs/heads/master b4abfb936 -> 9a9e72681


Document debug output

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

Branch: refs/heads/master
Commit: 9a9e7268162f9fed146c74a8acbd234d9bc2ed84
Parents: b4abfb9
Author: Sebb <s...@apache.org>
Authored: Tue Jan 13 02:00:47 2015 +0000
Committer: Sebb <s...@apache.org>
Committed: Tue Jan 13 02:00:47 2015 +0000

----------------------------------------------------------------------
 .../java/org/apache/commons/math3/complex/ComplexTest.java   | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/9a9e7268/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 e13b45b..0ee1466 100644
--- a/src/test/java/org/apache/commons/math3/complex/ComplexTest.java
+++ b/src/test/java/org/apache/commons/math3/complex/ComplexTest.java
@@ -797,6 +797,7 @@ public class ComplexTest {
 
     @Test
     public void testJava() {// TODO more debug
+        System.out.println(">>testJava()");
         // FastMathTest#testExpSpecialCases() checks the following:
         // Assert.assertEquals("exp of -infinity should be 0.0", 0.0, 
FastMath.exp(Double.NEGATIVE_INFINITY), Precision.EPSILON);
         // Let's check how well Math works:
@@ -818,15 +819,17 @@ public class ComplexTest {
         for(String t : props) {
             System.out.println(t + "=" + System.getProperty(t));
         }    
+        System.out.println("<<testJava()");
     }
 
     @Test
     public void testExpInf4() {
         // TODO: temp debug start
+        System.out.println(">>testExpInf4()");
         double inf = negInfOne.getReal();
-        System.out.println(inf);
+        System.out.println("inf="+inf);
         int intVal = (int) -inf;
-        System.out.println(intVal);
+        System.out.println("intval="+intVal);
         // TODO: temp debug end
         System.out.println("expReal="+FastMath.exp(negInfOne.getReal())); // 
TODO temp debug
         System.out.println("cosImag="+FastMath.cos(negInfOne.getImaginary())); 
// TODO temp debug
@@ -834,6 +837,7 @@ public class ComplexTest {
         final Complex exp = negInfOne.exp();
         System.out.println("result="+exp); // TODO temp debug
         TestUtils.assertSame(Complex.ZERO, exp);
+        System.out.println("<<testExpInf4()"); // TODO debug
     }
 
     @Test

Reply via email to