Disabled external gits
This commit is contained in:
14
Alpano/tests/ch/epfl/test/TestRandomizer.java
Normal file
14
Alpano/tests/ch/epfl/test/TestRandomizer.java
Normal file
@@ -0,0 +1,14 @@
|
||||
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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user