kotest-assertions / io.kotest.properties / Gen / merge

merge

open fun <U : T> merge(gen: Gen<U>): Gen<T>
Deprecated: Deprecated and will be removed in 5.0. Migrate to the new property test classes in 4.0

Returns a new [Gen] which will return the values from this gen and the values of the supplied gen together. The supplied gen must be a subtype of the type of this gen.