|
||||||||||
| 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.StorelessUnivariateStatisticAbstractTest
org.apache.commons.math.stat.descriptive.moment.MeanTest
public class MeanTest
Test cases for the UnivariateStatistic class.
| Field Summary | |
|---|---|
protected org.apache.commons.math.stat.descriptive.moment.Mean |
stat
|
| Fields inherited from class org.apache.commons.math.stat.descriptive.StorelessUnivariateStatisticAbstractTest |
|---|
smallSamples |
| 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 | |
|---|---|
MeanTest(java.lang.String name)
|
|
| Method Summary | |
|---|---|
double |
expectedValue()
Expected value for the testArray defined in UnivariateStatisticAbstractTest |
org.apache.commons.math.stat.descriptive.UnivariateStatistic |
getUnivariateStatistic()
Return a new instance of the statistic |
static junit.framework.Test |
suite()
|
void |
testSmallSamples()
|
| Methods inherited from class org.apache.commons.math.stat.descriptive.StorelessUnivariateStatisticAbstractTest |
|---|
testConsistency, testEqualsAndHashCode, testIncrementation, testMomentSmallSamples, testSerialization |
| 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.moment.Mean stat
| Constructor Detail |
|---|
public MeanTest(java.lang.String name)
name - | Method Detail |
|---|
public static junit.framework.Test suite()
public org.apache.commons.math.stat.descriptive.UnivariateStatistic getUnivariateStatistic()
StorelessUnivariateStatisticAbstractTest
getUnivariateStatistic in class StorelessUnivariateStatisticAbstractTestpublic double expectedValue()
StorelessUnivariateStatisticAbstractTest
expectedValue in class StorelessUnivariateStatisticAbstractTestpublic void testSmallSamples()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||