
smallcheck.generators.SeriesGen Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-smallcheck Show documentation
Show all versions of java-smallcheck Show documentation
An implementation of SmallCheck for Java as a JUnit extension.
The newest version!
package smallcheck.generators;
import java.util.stream.Stream;
/*
* Generates a series of small values up to a given depth
*/
public abstract class SeriesGen {
public abstract Stream generate(int depth);
/**
* Copies the object.
* If the object is immutable, just return the same object.
*/
public T copy(T obj) {
return obj;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy