|
||||||||||
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.GeometricMeanTest
public class GeometricMeanTest
Test cases for the UnivariateStatistic
class.
Field Summary | |
---|---|
protected org.apache.commons.math.stat.descriptive.moment.GeometricMean |
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 | |
---|---|
GeometricMeanTest(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 |
testSpecialValues()
|
Methods inherited from class org.apache.commons.math.stat.descriptive.StorelessUnivariateStatisticAbstractTest |
---|
testConsistency, testCopyConsistency, testEqualsAndHashCode, testIncrementation, testMomentSmallSamples, testSerial, testSerialization |
Methods inherited from class org.apache.commons.math.stat.descriptive.UnivariateStatisticAbstractTest |
---|
getTolerance, testCopy, 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, format |
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.GeometricMean stat
Constructor Detail |
---|
public GeometricMeanTest(String name)
name
- Method Detail |
---|
public static junit.framework.Test suite()
public org.apache.commons.math.stat.descriptive.UnivariateStatistic getUnivariateStatistic()
getUnivariateStatistic
in class StorelessUnivariateStatisticAbstractTest
public double expectedValue()
expectedValue
in class StorelessUnivariateStatisticAbstractTest
public void testSpecialValues()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |