Package net.jqwik.api.arbitraries
Interface BigIntegerArbitrary
- All Superinterfaces:
Arbitrary<BigInteger>
,NumericalArbitrary<BigInteger,
BigIntegerArbitrary>
@API(status=MAINTAINED,
since="1.0")
public interface BigIntegerArbitrary
extends NumericalArbitrary<BigInteger,BigIntegerArbitrary>
Fluent interface to configure the generation of BigInteger values.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.jqwik.api.Arbitrary
Arbitrary.ArbitraryFacade
-
Method Summary
Modifier and TypeMethodDescriptiondefault BigIntegerArbitrary
between
(BigInteger min, BigInteger max) Set the allowed lowermin
(included) and uppermax
(included) bounder of generated numbers.greaterOrEqual
(BigInteger min) Set the allowed lowermin
(included) bounder of generated numbers.lessOrEqual
(BigInteger max) Set the allowed uppermax
(included) bounder of generated numbers.shrinkTowards
(BigInteger target) Set shrinking target totarget
which must be between the allowed bounds.Methods inherited from interface net.jqwik.api.Arbitrary
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, withoutEdgeCases
Methods inherited from interface net.jqwik.api.arbitraries.NumericalArbitrary
withDistribution
-
Method Details
-
between
Set the allowed lowermin
(included) and uppermax
(included) bounder of generated numbers.- Parameters:
min
- min value (included)max
- max value (included)- Returns:
- new instance of arbitrary
-
greaterOrEqual
Set the allowed lowermin
(included) bounder of generated numbers.- Parameters:
min
- min value (included)- Returns:
- new instance of arbitrary
-
lessOrEqual
Set the allowed uppermax
(included) bounder of generated numbers.- Parameters:
max
- max value (included)- Returns:
- new instance of arbitrary
-
shrinkTowards
Set shrinking target totarget
which must be between the allowed bounds.- Parameters:
target
- shrinking target value- Returns:
- new instance of arbitrary
-