fun Gen.Companion.choose(min: Int, max: Int): Gen<Int>Returns a stream of values, where each value is a random Int between the given min and max.
fun Gen.Companion.choose(min: Long, max: Long): Gen<Long>Returns a stream of values, where each value is a Long between the given min and max.
fun <T : Any> Gen.Companion.choose(a: Pair<Int, T>, b: Pair<Int, T>, vararg cs: Pair<Int, T>): Gen<T>Returns a stream of values based on weights:
Gen.choose(1 to 'A', 2 to 'B') will generate 'A' 33% of the time and 'B' 66% of the time.
IllegalArgumentException - If any negative weight is given or only
weights of zero are given.