1Testing.randomArray(3kaya) Kaya module reference Testing.randomArray(3kaya)
2
3
4
6 Testing::randomArray - Return a random array
7
9 [a] randomArray( a() generator, Int minsize=0, Int maxsize=1000 )
10
12 generator A function that returns random elements of the given type.
13
14 minsize The minimum size of the array (optional, defaults to zero)
15
16 maxsize The minimum size of the array (optional, defaults to 1000)
17
19 Return a random array, with elements given by the generator function.
20
22 Kaya standard library by Edwin Brady, Chris Morris and others
23 (kaya@kayalang.org). For further information see http://kayalang.org/
24
26 The Kaya standard library is free software; you can redistribute it
27 and/or modify it under the terms of the GNU Lesser General Public
28 License (version 2.1 or any later version) as published by the Free
29 Software Foundation.
30
32 Testing.randomCharArray (3kaya)
33 Testing.randomFloatArray (3kaya)
34 Testing.randomIntArray (3kaya)
35 Testing.randomStringArray (3kaya)
36 Testing.randomValue (3kaya)
37
38
39
40Kaya December 2010 Testing.randomArray(3kaya)