flatCombine

@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
fun <T1, T2, R> flatCombine(a1: Arbitrary<T1>, a2: Arbitrary<T2>, flatCombinator: (T1, T2) -> Arbitrary<R>): Arbitrary<R>

Flat-combine 2 arbitraries into one.

Return

new Arbitrary instance

@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
fun <T1, T2, T3, R> flatCombine(a1: Arbitrary<T1>, a2: Arbitrary<T2>, a3: Arbitrary<T3>, flatCombinator: (T1, T2, T3) -> Arbitrary<R>): Arbitrary<R>

Flat-combine 3 arbitraries into one.

Return

new Arbitrary instance

@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
fun <T1, T2, T3, T4, R> flatCombine(a1: Arbitrary<T1>, a2: Arbitrary<T2>, a3: Arbitrary<T3>, a4: Arbitrary<T4>, flatCombinator: (T1, T2, T3, T4) -> Arbitrary<R>): Arbitrary<R>

Flat-combine 4 arbitraries into one.

Return

new Arbitrary instance

@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
fun <T1, T2, T3, T4, T5, R> flatCombine(a1: Arbitrary<T1>, a2: Arbitrary<T2>, a3: Arbitrary<T3>, a4: Arbitrary<T4>, a5: Arbitrary<T5>, flatCombinator: (T1, T2, T3, T4, T5) -> Arbitrary<R>): Arbitrary<R>

Flat-combine 5 arbitraries into one.

Return

new Arbitrary instance

@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
fun <T1, T2, T3, T4, T5, T6, R> flatCombine(a1: Arbitrary<T1>, a2: Arbitrary<T2>, a3: Arbitrary<T3>, a4: Arbitrary<T4>, a5: Arbitrary<T5>, a6: Arbitrary<T6>, flatCombinator: (T1, T2, T3, T4, T5, T6) -> Arbitrary<R>): Arbitrary<R>

Flat-combine 6 arbitraries into one.

Return

new Arbitrary instance

@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
fun <T1, T2, T3, T4, T5, T6, T7, R> flatCombine(a1: Arbitrary<T1>, a2: Arbitrary<T2>, a3: Arbitrary<T3>, a4: Arbitrary<T4>, a5: Arbitrary<T5>, a6: Arbitrary<T6>, a7: Arbitrary<T7>, flatCombinator: (T1, T2, T3, T4, T5, T6, T7) -> Arbitrary<R>): Arbitrary<R>

Flat-combine 7 arbitraries into one.

Return

new Arbitrary instance

@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
fun <T1, T2, T3, T4, T5, T6, T7, T8, R> flatCombine(a1: Arbitrary<T1>, a2: Arbitrary<T2>, a3: Arbitrary<T3>, a4: Arbitrary<T4>, a5: Arbitrary<T5>, a6: Arbitrary<T6>, a7: Arbitrary<T7>, a8: Arbitrary<T8>, flatCombine: (T1, T2, T3, T4, T5, T6, T7, T8) -> Arbitrary<R>): Arbitrary<R>

Flat-combine 8 arbitraries into one.

Return

new Arbitrary instance

@API(status = API.Status.EXPERIMENTAL, since = "1.6.0")
fun <T, R> flatCombine(arbitraries: List<Arbitrary<T>>, flatCombinator: (v1: List<T>) -> Arbitrary<R>): Arbitrary<R>

Flat-combine list of arbitraries into one.

Return

new Arbitrary instance