fixed a mixed case error (setup vs. setUp) that prevented tests setup

fixed the associated tolerance for some failing tests

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@563850 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2007-08-08 13:18:46 +00:00
parent 980c3ae6f1
commit 1340aa1c11
7 changed files with 10 additions and 8 deletions

View File

@ -68,9 +68,9 @@ public class ChiSquareDistributionTest extends ContinuousDistributionAbstractTes
}
// --------------------- Override tolerance --------------
protected void setup() throws Exception {
protected void setUp() throws Exception {
super.setUp();
setTolerance(1E-6);
setTolerance(5e-6);
}
//---------------------------- Additional test cases -------------------------

View File

@ -56,9 +56,9 @@ public class FDistributionTest extends ContinuousDistributionAbstractTest {
}
// --------------------- Override tolerance --------------
protected void setup() throws Exception {
protected void setUp() throws Exception {
super.setUp();
setTolerance(1E-6);
setTolerance(4e-6);
}
//---------------------------- Additional test cases -------------------------

View File

@ -56,9 +56,9 @@ public class GammaDistributionTest extends ContinuousDistributionAbstractTest {
}
// --------------------- Override tolerance --------------
protected void setup() throws Exception {
protected void setUp() throws Exception {
super.setUp();
setTolerance(1E-6);
setTolerance(6e-6);
}
//---------------------------- Additional test cases -------------------------

View File

@ -55,7 +55,7 @@ public class NormalDistributionTest extends ContinuousDistributionAbstractTest
}
// --------------------- Override tolerance --------------
protected void setup() throws Exception {
protected void setUp() throws Exception {
super.setUp();
setTolerance(1E-6);
}

View File

@ -55,7 +55,7 @@ public class TDistributionTest extends ContinuousDistributionAbstractTest {
}
// --------------------- Override tolerance --------------
protected void setup() throws Exception {
protected void setUp() throws Exception {
super.setUp();
setTolerance(1E-6);
}

View File

@ -31,6 +31,7 @@ public class ChiSquareFactoryTest extends ChiSquareTestTest {
}
public void setUp() {
super.setUp();
testStatistic = TestUtils.getChiSquareTest();
}

View File

@ -31,6 +31,7 @@ public class TTestFactoryTest extends TTestTest {
}
public void setUp() {
super.setUp();
testStatistic = TestUtils.getTTest();
}