@API(status=MAINTAINED,
since="1.0")
public interface BigIntegerArbitrary
extends NumericalArbitrary<java.math.BigInteger,BigIntegerArbitrary>
Arbitrary.ArbitraryFacade| Modifier and Type | Method and Description |
|---|---|
default BigIntegerArbitrary |
between(java.math.BigInteger min,
java.math.BigInteger max)
Set the allowed lower
min (included) and upper max (included) bounder of generated numbers. |
BigIntegerArbitrary |
greaterOrEqual(java.math.BigInteger min)
Set the allowed lower
min (included) bounder of generated numbers. |
BigIntegerArbitrary |
lessOrEqual(java.math.BigInteger max)
Set the allowed upper
max (included) bounder of generated numbers. |
BigIntegerArbitrary |
shrinkTowards(java.math.BigInteger target)
Set shrinking target to
target which must be between the allowed bounds. |
withDistributionallValues, 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, withoutEdgeCasesdefault BigIntegerArbitrary between(java.math.BigInteger min, java.math.BigInteger max)
min (included) and upper max (included) bounder of generated numbers.min - min value (included)max - max value (included)BigIntegerArbitrary greaterOrEqual(java.math.BigInteger min)
min (included) bounder of generated numbers.min - min value (included)BigIntegerArbitrary lessOrEqual(java.math.BigInteger max)
max (included) bounder of generated numbers.max - max value (included)@API(status=MAINTAINED,
since="1.4.0")
BigIntegerArbitrary shrinkTowards(java.math.BigInteger target)
target which must be between the allowed bounds.target - shrinking target value