Removed failing test. Should never have been committed.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141211 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brent Worden 2004-05-03 23:16:39 +00:00
parent d522e47b8e
commit 631377f86b
1 changed files with 1 additions and 20 deletions

View File

@ -30,7 +30,7 @@ import org.apache.commons.math.random.RandomDataImpl;
/**
* Test cases for the {@link Univariate} class.
*
* @version $Revision: 1.3 $ $Date: 2004/05/03 14:32:25 $
* @version $Revision: 1.4 $ $Date: 2004/05/03 23:16:39 $
*/
public final class DescriptiveStatisticsTest extends TestCase {
@ -412,25 +412,6 @@ public final class DescriptiveStatisticsTest extends TestCase {
assertEquals(3.0, u.getMean(), tolerance);
}
public void testGetKurtosis() throws MathException {
UnivariateRealFunction f = new UnivariateRealFunction() {
public double value(double x) throws MathException {
DescriptiveStatistics u = DescriptiveStatistics.newInstance();
u.setWindowSize(5);
u.addValue(1.0);
u.addValue(1.5);
u.addValue(x);
u.addValue(1.5);
u.addValue(1.0);
return u.getKurtosis();
}
};
assertEquals(0.0, UnivariateRealSolverUtils.solve(f, 2.0, 2.5), 1.0e-5);
}
public void testKurtosisClass() {
DescriptiveStatistics u = DescriptiveStatistics.newInstance();
u.setWindowSize(5);