15 lines
313 B
Java
15 lines
313 B
Java
package ch.epfl.test;
|
|
|
|
import java.util.Random;
|
|
|
|
public interface TestRandomizer {
|
|
// Fix random seed to guarantee reproducibility.
|
|
public final static long SEED = 2017;
|
|
|
|
public final static int RANDOM_ITERATIONS = 500;
|
|
|
|
public static Random newRandom() {
|
|
return new Random(SEED);
|
|
}
|
|
}
|