commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r563850 - in /commons/proper/math/trunk/src/test/org/apache/commons/math: distribution/ stat/inference/
Date Wed, 08 Aug 2007 13:18:48 GMT
Author: luc
Date: Wed Aug  8 06:18:46 2007
New Revision: 563850

URL: http://svn.apache.org/viewvc?view=rev&rev=563850
Log:
fixed a mixed case error (setup vs. setUp) that prevented tests setup
fixed the associated tolerance for some failing tests

Modified:
    commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/ChiSquareDistributionTest.java
    commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/FDistributionTest.java
    commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/GammaDistributionTest.java
    commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/NormalDistributionTest.java
    commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/TDistributionTest.java
    commons/proper/math/trunk/src/test/org/apache/commons/math/stat/inference/ChiSquareFactoryTest.java
    commons/proper/math/trunk/src/test/org/apache/commons/math/stat/inference/TTestFactoryTest.java

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/ChiSquareDistributionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/ChiSquareDistributionTest.java?view=diff&rev=563850&r1=563849&r2=563850
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/ChiSquareDistributionTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/ChiSquareDistributionTest.java
Wed Aug  8 06:18:46 2007
@@ -68,9 +68,9 @@
     }
     
  // --------------------- Override tolerance  --------------
-    protected void setup() throws Exception {
+    protected void setUp() throws Exception {
         super.setUp();
-        setTolerance(1E-6);
+        setTolerance(5e-6);
     }
 
  //---------------------------- Additional test cases -------------------------

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/FDistributionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/FDistributionTest.java?view=diff&rev=563850&r1=563849&r2=563850
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/FDistributionTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/FDistributionTest.java
Wed Aug  8 06:18:46 2007
@@ -56,9 +56,9 @@
     }
     
     // --------------------- Override tolerance  --------------
-    protected void setup() throws Exception {
+    protected void setUp() throws Exception {
         super.setUp();
-        setTolerance(1E-6);
+        setTolerance(4e-6);
     }
 
     //---------------------------- Additional test cases -------------------------

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/GammaDistributionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/GammaDistributionTest.java?view=diff&rev=563850&r1=563849&r2=563850
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/GammaDistributionTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/GammaDistributionTest.java
Wed Aug  8 06:18:46 2007
@@ -56,9 +56,9 @@
     }
     
     // --------------------- Override tolerance  --------------
-    protected void setup() throws Exception {
+    protected void setUp() throws Exception {
         super.setUp();
-        setTolerance(1E-6);
+        setTolerance(6e-6);
     }
 
     //---------------------------- Additional test cases -------------------------

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/NormalDistributionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/NormalDistributionTest.java?view=diff&rev=563850&r1=563849&r2=563850
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/NormalDistributionTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/NormalDistributionTest.java
Wed Aug  8 06:18:46 2007
@@ -55,7 +55,7 @@
     }
     
     // --------------------- Override tolerance  --------------
-    protected void setup() throws Exception {
+    protected void setUp() throws Exception {
         super.setUp();
         setTolerance(1E-6);
     }

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/TDistributionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/TDistributionTest.java?view=diff&rev=563850&r1=563849&r2=563850
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/TDistributionTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/TDistributionTest.java
Wed Aug  8 06:18:46 2007
@@ -55,7 +55,7 @@
     }
 
     // --------------------- Override tolerance  --------------
-    protected void setup() throws Exception {
+    protected void setUp() throws Exception {
         super.setUp();
         setTolerance(1E-6);
     }

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/stat/inference/ChiSquareFactoryTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/inference/ChiSquareFactoryTest.java?view=diff&rev=563850&r1=563849&r2=563850
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/stat/inference/ChiSquareFactoryTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/stat/inference/ChiSquareFactoryTest.java
Wed Aug  8 06:18:46 2007
@@ -31,6 +31,7 @@
     }
     
     public void setUp() {
+    	super.setUp();
         testStatistic = TestUtils.getChiSquareTest();
     }
 

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/stat/inference/TTestFactoryTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/inference/TTestFactoryTest.java?view=diff&rev=563850&r1=563849&r2=563850
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/stat/inference/TTestFactoryTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/stat/inference/TTestFactoryTest.java
Wed Aug  8 06:18:46 2007
@@ -31,6 +31,7 @@
     }
     
     public void setUp() {
+    	super.setUp();
         testStatistic = TestUtils.getTTest();
     }
 



Mime
View raw message