fr.jussieu.gla.wasa.core.junit
Class DeterministicRandomTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--fr.jussieu.gla.wasa.core.junit.DeterministicRandomTest
All Implemented Interfaces:
junit.framework.Test

public class DeterministicRandomTest
extends junit.framework.TestCase

Automated test for DeterministicRandom

Version:
$Revision: 1.1 $ $Date: 2002/04/10 17:24:01 $
Author:
Florent Selva

Constructor Summary
DeterministicRandomTest(java.lang.String s)
           
 
Method Summary
static void main(java.lang.String[] args)
           
static junit.framework.Test suite()
           
 void testCrashTestSequence()
          Test the BadRandomInvocationException.
 void testNextDoubleSequence()
          Test the NextDouble method of the DeterministicRandom.
 void testNextFloatSequence()
          Test the NextFloat method of the DeterministicRandom.
 void testNextIntBoundSequence()
          Test the NextInt( int ) method of the DeterministicRandom.
 void testNextIntSequence()
          Test the NextInt method of the DeterministicRandom.
 void testNextLongSequence()
          Test the NextLong method of the DeterministicRandom.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeterministicRandomTest

public DeterministicRandomTest(java.lang.String s)
Method Detail

testNextIntSequence

public void testNextIntSequence()
Test the NextInt method of the DeterministicRandom.

testNextLongSequence

public void testNextLongSequence()
Test the NextLong method of the DeterministicRandom.

testNextFloatSequence

public void testNextFloatSequence()
Test the NextFloat method of the DeterministicRandom.

testNextDoubleSequence

public void testNextDoubleSequence()
Test the NextDouble method of the DeterministicRandom.

testNextIntBoundSequence

public void testNextIntBoundSequence()
Test the NextInt( int ) method of the DeterministicRandom.

testCrashTestSequence

public void testCrashTestSequence()
Test the BadRandomInvocationException.

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] args)