@API(status=MAINTAINED,
since="1.8.0")
public interface NumericalArbitrary<T,A extends NumericalArbitrary<T,A>>
extends Arbitrary<T>
Arbitrary.ArbitraryFacade| Modifier and Type | Method and Description |
|---|---|
A |
withDistribution(RandomDistribution distribution)
Set the distribution to use when generating random numerical values.
|
allValues, array, asGeneric, collect, dontShrink, edgeCases, edgeCases, edgeCases, exhaustive, exhaustive, filter, filter, fixGenSize, flatMap, forEachValue, generator, generator, generatorWithEmbeddedEdgeCases, ignoreException, ignoreException, ignoreExceptions, ignoreExceptions, injectDuplicates, injectNull, isGeneratorMemoizable, iterator, list, map, optional, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, withoutEdgeCasesA withDistribution(RandomDistribution distribution)
jqwik currently offers two built-in distributions:
distribution - The distribution to use when generating random values