Package net.jqwik.api.facades
Class ShrinkingSupportFacade
java.lang.Object
net.jqwik.api.facades.ShrinkingSupportFacade
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract <T> T
falsifyThenShrink
(Arbitrary<? extends T> arbitrary, Random random, Falsifier<T> falsifier) abstract <T> T
falsifyThenShrink
(RandomGenerator<? extends T> arbitrary, Random random, Falsifier<T> falsifier) abstract <T> T
shrink
(Shrinkable<T> falsifiedShrinkable, Falsifier<T> falsifier, Throwable originalError) abstract <T> ShrunkFalsifiedSample
shrinkToSample
(Shrinkable<T> falsifiedShrinkable, Falsifier<T> falsifier, Throwable originalError)
-
Field Details
-
implementation
-
-
Constructor Details
-
ShrinkingSupportFacade
public ShrinkingSupportFacade()
-
-
Method Details
-
falsifyThenShrink
-
falsifyThenShrink
public abstract <T> T falsifyThenShrink(RandomGenerator<? extends T> arbitrary, Random random, Falsifier<T> falsifier) -
shrink
public abstract <T> T shrink(Shrinkable<T> falsifiedShrinkable, Falsifier<T> falsifier, Throwable originalError) -
shrinkToSample
public abstract <T> ShrunkFalsifiedSample shrinkToSample(Shrinkable<T> falsifiedShrinkable, Falsifier<T> falsifier, Throwable originalError)
-