| |
|
| org.apache.commons.lang.math.RandomUtilsTest
RandomUtilsTest | final public class RandomUtilsTest extends TestCase (Code) | | Test cases for the
RandomUtils class.
author: Phil Steitz version: $Revision: 437554 $ $Date: 2006-08-27 23:21:41 -0700 (Sun, 27 Aug 2006) $ |
setUp | public void setUp()(Code) | | |
suite | public static Test suite()(Code) | | |
testIllegalArguments | public void testIllegalArguments()(Code) | | make sure that illegal arguments fail
|
testJvmRandomNextInt | public void testJvmRandomNextInt()(Code) | | test distribution of JVMRandom.nextInt()
|
testNextBoolean | public void testNextBoolean()(Code) | | test distribution of nextBoolean()
|
testNextBoolean2 | public void testNextBoolean2()(Code) | | test distribution of nextBoolean(Random)
|
testNextDouble | public void testNextDouble()(Code) | | test distribution of nextDouble()
|
testNextDouble2 | public void testNextDouble2()(Code) | | test distribution of nextDouble(Random)
|
testNextFloat | public void testNextFloat()(Code) | | test distribution of nextFloat()
|
testNextFloat2 | public void testNextFloat2()(Code) | | test distribution of nextFloat(Random)
|
testNextInt | public void testNextInt()(Code) | | test distribution of nextInt()
|
testNextInt2 | public void testNextInt2()(Code) | | test distribution of nextInt(Random)
|
testNextLong | public void testNextLong()(Code) | | test distribution of nextLong()
|
testNextLong2 | public void testNextLong2()(Code) | | test distribution of nextLong(Random) BROKEN
contract of nextLong(Random) is different from
nextLong()
|
testUnimplementedMethods | public void testUnimplementedMethods()(Code) | | make sure that unimplemented methods fail
|
|
|
|