laser.mpi.util.shuffle.test
Class Test
java.lang.Object
|
+--laser.mpi.util.shuffle.test.Test
- public class Test
- extends java.lang.Object
This class provides a method (runTests) which executes a range of
tests from the various use cases.
Constructor Summary |
Test()
|
Method Summary |
private static void |
run(UseCase useCase)
|
static void |
runTests(Shuffler archetype)
The main method, which executes the tests. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myRank
private static int myRank
nProcs
private static int nProcs
archetype
private static Shuffler archetype
nTests
private static int nTests
nPass
private static int nPass
Test
public Test()
runTests
public static void runTests(Shuffler archetype)
throws mpi.MPIException
- The main method, which executes the tests.
- Parameters:
archetype
- any instance of the Shuffler class which is
to be tested
- Throws:
mpi.MPIException
- if something goes awry with MPI
run
private static void run(UseCase useCase)
throws mpi.MPIException
mpi.MPIException