| |
|
| org.apache.commons.math.distribution.IntegerDistributionAbstractTest org.apache.commons.math.distribution.BinomialDistributionTest
BinomialDistributionTest | public class BinomialDistributionTest extends IntegerDistributionAbstractTest (Code) | | Test cases for BinomialDistribution.
Extends IntegerDistributionAbstractTest. See class javadoc for
IntegerDistributionAbstractTest for details.
version: $Revision: 155427 $ $Date: 2005-02-26 06:11:52 -0700 (Sat, 26 Feb 2005) $ |
BinomialDistributionTest | public BinomialDistributionTest(String name)(Code) | | Constructor for BinomialDistributionTest.
Parameters: name - |
makeCumulativeTestPoints | public int[] makeCumulativeTestPoints()(Code) | | Creates the default cumulative probability density test input values
|
makeCumulativeTestValues | public double[] makeCumulativeTestValues()(Code) | | Creates the default cumulative probability density test expected values
|
makeDensityTestPoints | public int[] makeDensityTestPoints()(Code) | | Creates the default probability density test input values
|
makeDensityTestValues | public double[] makeDensityTestValues()(Code) | | Creates the default probability density test expected values
|
makeDistribution | public IntegerDistribution makeDistribution()(Code) | | Creates the default discrete distribution instance to use in tests.
|
makeInverseCumulativeTestPoints | public double[] makeInverseCumulativeTestPoints()(Code) | | Creates the default inverse cumulative probability test input values
|
makeInverseCumulativeTestValues | public int[] makeInverseCumulativeTestValues()(Code) | | Creates the default inverse cumulative probability density test expected values
|
testDegenerate0 | public void testDegenerate0() throws Exception(Code) | | Test degenerate case p = 0
|
testDegenerate1 | public void testDegenerate1() throws Exception(Code) | | Test degenerate case p = 1
|
|
|
|