Interface Shrinker<A>

  • Type Parameters:
    A - the type of test values

    public interface Shrinker<A>
    Interface for shrinkers. Shrinkers provide shrinked values in a stream.
    Author:
    Herbert Praehofer
    • Method Detail

      • shrink

        Stream<A> shrink​(A x)
        Returns a stream of shrunk values of the given value. The simpler values should become first.
        Parameters:
        x - the values to shrink
        Returns:
        the stream of shrunk values