epfl-archive/Alpano/tests/ch/epfl/test/TestRandomizer.java
2022-04-07 18:43:21 +02:00

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);
}
}