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:
parent
980c3ae6f1
commit
1340aa1c11
|
@ -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 -------------------------
|
||||
|
|
|
@ -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 -------------------------
|
||||
|
|
|
@ -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 -------------------------
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -31,6 +31,7 @@ public class ChiSquareFactoryTest extends ChiSquareTestTest {
|
|||
}
|
||||
|
||||
public void setUp() {
|
||||
super.setUp();
|
||||
testStatistic = TestUtils.getChiSquareTest();
|
||||
}
|
||||
|
||||
|
|
|
@ -31,6 +31,7 @@ public class TTestFactoryTest extends TTestTest {
|
|||
}
|
||||
|
||||
public void setUp() {
|
||||
super.setUp();
|
||||
testStatistic = TestUtils.getTTest();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue