|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.math.stat.descriptive.UnivariateStatisticAbstractTest
org.apache.commons.math.stat.descriptive.rank.PercentileTest
public class PercentileTest
Test cases for the UnivariateStatistic class.
| Field Summary | |
|---|---|
protected org.apache.commons.math.stat.descriptive.rank.Percentile |
stat
|
| Fields inherited from class org.apache.commons.math.stat.descriptive.UnivariateStatisticAbstractTest |
|---|
fourthMoment, geoMean, kurt, max, mean, median, min, percentile5, percentile95, product, secondMoment, skew, std, sum, sumLog, sumSq, testArray, thirdMoment, tolerance, var |
| Constructor Summary | |
|---|---|
PercentileTest(java.lang.String name)
|
|
| Method Summary | |
|---|---|
double |
expectedValue()
|
org.apache.commons.math.stat.descriptive.UnivariateStatistic |
getUnivariateStatistic()
|
static junit.framework.Test |
suite()
|
void |
test5()
|
void |
testHighPercentile()
|
void |
testNISTExample()
|
void |
testNullEmpty()
|
void |
testPercentile()
|
void |
testSetQuantile()
|
void |
testSingleton()
|
void |
testSpecialValues()
|
| Methods inherited from class org.apache.commons.math.stat.descriptive.UnivariateStatisticAbstractTest |
|---|
getTolerance, testEvaluation |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected org.apache.commons.math.stat.descriptive.rank.Percentile stat
| Constructor Detail |
|---|
public PercentileTest(java.lang.String name)
name - | Method Detail |
|---|
public static junit.framework.Test suite()
public org.apache.commons.math.stat.descriptive.UnivariateStatistic getUnivariateStatistic()
getUnivariateStatistic in class UnivariateStatisticAbstractTestpublic double expectedValue()
expectedValue in class UnivariateStatisticAbstractTestpublic void testHighPercentile()
public void testPercentile()
public void testNISTExample()
public void test5()
public void testNullEmpty()
public void testSingleton()
public void testSpecialValues()
public void testSetQuantile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||