Arbitrary.ArbitraryFacade
Modifier and Type | Method and Description |
---|---|
default FloatArbitrary |
between(float min,
float max)
Set the allowed lower
min (included) and upper max (included) bounder of generated numbers. |
FloatArbitrary |
greaterOrEqual(float min)
Set the allowed lower
min (included) bounder of generated numbers. |
FloatArbitrary |
lessOrEqual(float max)
Set the allowed upper
max (included) bounder of generated numbers. |
FloatArbitrary |
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 FloatArbitrary between(float min, float max)
min
(included) and upper max
(included) bounder of generated numbers.FloatArbitrary greaterOrEqual(float min)
min
(included) bounder of generated numbers.FloatArbitrary lessOrEqual(float max)
max
(included) bounder of generated numbers.FloatArbitrary ofScale(int scale)
scale
.