Package com.insightfullogic.lambdabehave.impl.generators

Examples of com.insightfullogic.lambdabehave.impl.generators.RandomNumberGenerator


    private final List<Class<?>> specifications;
    private final SourceGenerator generator;
    private final Report report = new Report();

    public BehaveRunner() {
        this(new RandomNumberGenerator());
    }
View Full Code Here


                .flatMap(BehaveRunner::loadClassOrPackage)
                .collect(toList()));
    }

    public BehaveRunner(final List<Class<?>> specifications) {
        this(specifications, new RandomNumberGenerator());
    }
View Full Code Here

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);
    }
View Full Code Here

     * method.
     *
     * @return the source generator
     */
    public static SourceGenerator randomNumbers() {
        return new RandomNumberGenerator();
    }
View Full Code Here

     *
     * @param seed the seed for the random number generator
     * @return the source generator
     */
    public static SourceGenerator deterministicNumbers(final long seed) {
        return new RandomNumberGenerator(seed);
    }
View Full Code Here

TOP

Related Classes of com.insightfullogic.lambdabehave.impl.generators.RandomNumberGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.