Arbitrary.ArbitraryFacade
Modifier and Type | Method and Description |
---|---|
default BigDecimalArbitrary |
between(java.math.BigDecimal min,
java.math.BigDecimal max)
Set the allowed lower
min (included) and upper max (included) bounder of generated numbers. |
BigDecimalArbitrary |
greaterOrEqual(java.math.BigDecimal min)
Set the allowed lower
min (included) bounder of generated numbers. |
BigDecimalArbitrary |
lessOrEqual(java.math.BigDecimal max)
Set the allowed upper
max (included) bounder of generated numbers. |
BigDecimalArbitrary |
ofScale(int scale)
Set the scale (maximum number of decimal places) to
scale . |
allValues, array, exhaustive, filter, fixGenSize, flatMap, forEachValue, generator, injectNull, iterator, list, map, optional, set, stream, unique, withSamples
default BigDecimalArbitrary between(java.math.BigDecimal min, java.math.BigDecimal max)
min
(included) and upper max
(included) bounder of generated numbers.BigDecimalArbitrary greaterOrEqual(java.math.BigDecimal min)
min
(included) bounder of generated numbers.BigDecimalArbitrary lessOrEqual(java.math.BigDecimal max)
max
(included) bounder of generated numbers.BigDecimalArbitrary ofScale(int scale)
scale
.