Testing.randomValue(3kaya)
NAME
Testing::randomValue - Return a random value
SYNOPSIS
Arbitrary randomValue( Int depth=10 )
ARGUMENTS
depth This parameter gives the maximum depth of recursion to guarantee
that the value has finite size. The default value is 10 and can usually
be omitted.
DESCRIPTION
Return a random value of arbitrary type.
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others
(kaya@kayalang.org). 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.randomArray (3kaya) Testing.randomChar (3kaya) Testing.randomFloat (3kaya) Testing.randomInt (3kaya) Testing.randomString (3kaya)