Test constructor

Test(
  1. String name,
  2. {int? randomSeed,
  3. Level printLevel = Level.ALL,
  4. Level failLevel = Level.SEVERE,
  5. Level killLevel = Level.SHOUT}
)

Constructs a new Test named name.

Only one Test should be created per simulation. It will set the value of random to a new Random object with randomSeed as the seed. If no randomSeed is specified, a random seed will be selected. To rerun a test with the same randomized behavior, pass the same randomSeed as the previous run.

Implementation

Test