|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--fr.jussieu.gla.wasa.core.junit.RandomTest
Test if java.util.Random gives the same sequences of int in order to instrument tests.
Constructor Summary | |
RandomTest(java.lang.String s)
|
Method Summary | |
static void |
main(java.lang.String[] args)
|
static junit.framework.Test |
suite()
|
void |
testDifferentSeeds()
Good if two generated sequences from two different seed are different. |
void |
testSameSeed()
Good if two generated sequences from the same seed are the same. |
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 |
public RandomTest(java.lang.String s)
Method Detail |
public static junit.framework.Test suite()
public void testSameSeed()
public void testDifferentSeeds()
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |