kotest-assertions / io.kotest.properties / numericDoubles

numericDoubles

fun Gen.Companion.numericDoubles(from: Double = Double.MIN_VALUE, to: Double = Double.MAX_VALUE): Gen<Double>
Deprecated: Deprecated and will be removed in 5.0. Migrate to the new property test classes in 4.0

Returns a Gen which is the same as Gen.double but does not include +INFINITY, -INFINITY or NaN.

This will only generate numbers ranging from from (inclusive) to to (inclusive)