kotest-assertions / io.kotest.properties / pair

pair

fun <K, V> Gen.Companion.pair(genK: Gen<K>, genV: Gen<V>): Gen<Pair<K, V>>
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 pair generated by the underlying generators.