| org.apache.commons.math.RetryTestCase org.apache.commons.math.random.ValueServerTest
ValueServerTest | final public class ValueServerTest extends RetryTestCase (Code) | | Test cases for the ValueServer class.
version: $Revision: 155427 $ $Date: 2005-02-26 06:11:52 -0700 (Sat, 26 Feb 2005) $ |
Method Summary | |
public void | setUp() | public static Test | suite() | public void | testFill() | public void | testModes() | public void | testNextDigest() Generate 1000 random values and make sure they look OK.
Note that there is a non-zero (but very small) probability that
these tests will fail even if the code is working as designed. | public void | testNextDigestFail() Make sure exception thrown if digest getNext is attempted
before loading empiricalDistribution. | public void | testProperties() | public void | testReplay() Test ValueServer REPLAY_MODE using values in testData file.
Check that the values 1,2,1001,1002 match data file values 1 and 2. |
setUp | public void setUp()(Code) | | |
suite | public static Test suite()(Code) | | |
testModes | public void testModes() throws Exception(Code) | | Test other ValueServer modes
|
testNextDigest | public void testNextDigest() throws Exception(Code) | | Generate 1000 random values and make sure they look OK.
Note that there is a non-zero (but very small) probability that
these tests will fail even if the code is working as designed.
|
testNextDigestFail | public void testNextDigestFail() throws Exception(Code) | | Make sure exception thrown if digest getNext is attempted
before loading empiricalDistribution.
|
testProperties | public void testProperties() throws Exception(Code) | | Test getters to make Clover happy
|
testReplay | public void testReplay() throws Exception(Code) | | Test ValueServer REPLAY_MODE using values in testData file.
Check that the values 1,2,1001,1002 match data file values 1 and 2.
the sample data file.
|
|
|