-
Notifications
You must be signed in to change notification settings - Fork 1
Proposition::arrays()
Jonathan Gjertsen edited this page Jun 18, 2017
·
5 revisions
$proposition->given(Proposition::arrays(Generator $generator, $max_array_size))
Provides a stream of arrays where the elements are provided by the input $generator. The arrays will have lengths from 0 up to $max_array_size
.
For arrays with a fixed size, use Proposition::fixedLengthArrays().