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