| |
|
| org.apache.commons.math.RetryTestCase org.apache.commons.math.random.RandomDataTest
All known Subclasses: org.apache.commons.math.random.RandomAdaptorTest, org.apache.commons.math.random.AbstractRandomGeneratorTest,
RandomDataTest | public class RandomDataTest extends RetryTestCase (Code) | | Test cases for the RandomData class.
version: $Revision: 355783 $ $Date: 2005-12-10 14:22:28 -0700 (Sat, 10 Dec 2005) $ |
expected | protected double[] expected(Code) | | |
largeSampleSize | protected int largeSampleSize(Code) | | |
smallSampleSize | protected long smallSampleSize(Code) | | |
setUp | public void setUp()(Code) | | |
suite | public static Test suite()(Code) | | |
testNextExponential | public void testNextExponential()(Code) | | test failure modes and distribution of nextExponential()
|
testNextGaussian | public void testNextGaussian()(Code) | | test failure modes and distribution of nextGaussian()
|
testNextHex | public void testNextHex()(Code) | | test dispersion and failute modes for nextHex()
|
testNextInt | public void testNextInt()(Code) | | test dispersion and failure modes for nextInt()
|
testNextLong | public void testNextLong()(Code) | | test dispersion and failure modes for nextLong()
|
testNextPermutation | public void testNextPermutation()(Code) | | tests for nextPermutation
|
testNextPoisson | public void testNextPoisson()(Code) | | Make sure that empirical distribution of random Poisson(4)'s
has P(X <= 5) close to actual cumulative Poisson probablity
and that nextPoisson fails when mean is non-positive
TODO: replace with statistical test, adding test stat to TestStatistic
|
testNextSample | public void testNextSample()(Code) | | tests for nextSample() sampling from Collection
|
testNextSecureHex | public void testNextSecureHex()(Code) | | test dispersion and failute modes for nextHex()
|
testNextSecureInt | public void testNextSecureInt()(Code) | | test dispersion and failure modes for nextSecureInt()
|
testNextSecureLong | public void testNextSecureLong()(Code) | | test dispersion and failure modes for nextSecureLong()
|
testNextUniform | public void testNextUniform()(Code) | | test failure modes and dispersion of nextUniform()
|
|
|
|