kotest-assertions / io.kotest.properties / positiveIntegers

positiveIntegers

fun Gen.Companion.positiveIntegers(): Gen<Int>
Deprecated: Deprecated and will be removed in 5.0. Migrate to the new property test classes in 4.0

Returns a stream of values where each value is a randomly chosen positive value. The values returned always include the following edge cases: Int.MAX_VALUE