jacket
Search the docs
/
API
Tools
Playground
0.31.0
Testing module
← Testing
Property
rng_seeded
rng_u64
rng_below
rng_range
rng_chance
rng_unit
generator
assume
run_property
On this page
See also
std
/
Extensions
/
Testing
/
rng_unit
rng_unit
procedure · 1 overload
since 0.30.0
Source
A number from 0 up to, not including, 1.
rng: the generator to draw from.
rng_unit
:: (rng: *
Rng
) ->
float64
A number from 0 up to, not including, 1.
Parameters
rng
:
*
Rng
the generator to draw from.
Returns
float64
See also
rng_range
rng_chance
generator
assume