merge Round Robin
fun <T> ArbExtensionPoint.mergeRoundRobin(first: ArbArgsGenerator<T>, second: ArbArgsGenerator<T>, vararg others: ArbArgsGenerator<T>): ArbArgsGenerator<T>(source)
Merges first with the given second and optionally others resulting in a ArbArgsGenerator which picks the next generator to contribute a value in a round-robin fashion.
This merger ensures that generators strictly equally often are picked to contribute a value (provided the number of values to generate is a multiple of the number of specified generators). Compare this to mergeWeighted with equal weights where in case of only a few values it is likely that one generator contributes more values than another.
Return
The resulting ArbArgsGenerator.
Since
2.1.0
Parameters
first
The first ArbArgsGenerator with an associated weight.
second
The second ArbArgsGenerator with an associated weight
others
optionally more ArbArgsGenerator with associated weights