Testing::randomArray(3) Return a random array

SYNOPSIS

[a] randomArray( a() generator, Int minsize=0, Int maxsize=1000 )

ARGUMENTS

generator A function that returns random elements of the given type.

minsize The minimum size of the array (optional, defaults to zero)

maxsize The minimum size of the array (optional, defaults to 1000)

DESCRIPTION

Return a random array, with elements given by the generator function.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

Testing.randomCharArray(3kaya)

Testing.randomFloatArray(3kaya)

Testing.randomIntArray(3kaya)

Testing.randomStringArray(3kaya)

Testing.randomValue(3kaya)