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.


Field Summary
private static Shuffler archetype
           
private static int myRank
           
private static int nPass
           
private static int nProcs
           
private static int nTests
           
 
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
 

Field Detail

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
Constructor Detail

Test

public Test()
Method Detail

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