fun <T> frequencyOf(vararg frequencies: Pair<Int, Arbitrary<out T>>): Arbitrary<T>
@API(status = API.Status.EXPERIMENTAL,
since = "1.6.2" )
Content copied to clipboard
Function to choose from one of the provided arbitraries with a given frequency.
This is a Kotlin convenience for Arbitraries.frequencyOf which takes Pairs instead of jqwik tuples.