org.apache.commons.math.random
Class AbstractRandomGeneratorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.math.RetryTestCase
              extended by org.apache.commons.math.random.RandomDataTest
                  extended by org.apache.commons.math.random.AbstractRandomGeneratorTest
All Implemented Interfaces:
junit.framework.Test

public class AbstractRandomGeneratorTest
extends RandomDataTest

Test cases for the AbstractRandomGenerator class

Version:
$Revision: 764749 $ $Date: 2009-04-14 07:51:40 -0400 (Tue, 14 Apr 2009) $

Field Summary
protected  TestRandomGenerator testGenerator
           
 
Fields inherited from class org.apache.commons.math.random.RandomDataTest
expected, largeSampleSize, randomData, smallSampleSize, testStatistic
 
Constructor Summary
AbstractRandomGeneratorTest(String name)
           
 
Method Summary
static junit.framework.Test suite()
           
 void testNextBoolean()
           
 void testNextFloat()
           
 void testNextInt()
          test dispersion and failure modes for nextInt()
 void testNextLong()
          test dispersion and failure modes for nextLong()
 
Methods inherited from class org.apache.commons.math.random.RandomDataTest
testConfig, testNextExponential, testNextGaussian, testNextHex, testNextIntExtremeValues, testNextLongExtremeValues, testNextPermutation, testNextPoisson, testNextPoissonLargeMean, testNextSample, testNextSecureHex, testNextSecureInt, testNextSecureLong, testNextUniform, testNextUniformExclusiveEndpoints
 
Methods inherited from class org.apache.commons.math.RetryTestCase
runTest
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, 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

testGenerator

protected TestRandomGenerator testGenerator
Constructor Detail

AbstractRandomGeneratorTest

public AbstractRandomGeneratorTest(String name)
Method Detail

suite

public static junit.framework.Test suite()

testNextInt

public void testNextInt()
Description copied from class: RandomDataTest
test dispersion and failure modes for nextInt()

Overrides:
testNextInt in class RandomDataTest

testNextLong

public void testNextLong()
Description copied from class: RandomDataTest
test dispersion and failure modes for nextLong()

Overrides:
testNextLong in class RandomDataTest

testNextBoolean

public void testNextBoolean()

testNextFloat

public void testNextFloat()


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.