65666768697071
private final List<Class<?>> specifications; private final SourceGenerator generator; private final Report report = new Report(); public BehaveRunner() { this(new RandomNumberGenerator()); }
79808182838485
.flatMap(BehaveRunner::loadClassOrPackage) .collect(toList())); } public BehaveRunner(final List<Class<?>> specifications) { this(specifications, new RandomNumberGenerator()); }
789101112131415
public class Runner { public static void main(final String[] args) { final TreeGenerator<Integer> generator = new TreeGenerator<>(integersUpTo(10), 10); final Node<Integer> tree = generator.generate(new RandomNumberGenerator()); tree.print(0); }
20212223242526
* method. * * @return the source generator */ public static SourceGenerator randomNumbers() { return new RandomNumberGenerator(); }
35363738394041
* * @param seed the seed for the random number generator * @return the source generator */ public static SourceGenerator deterministicNumbers(final long seed) { return new RandomNumberGenerator(seed); }