Is there any reason two arb can be added? For exam...
# kotest
j
Is there any reason two arb can be added? For example
Copy code
val clientErrorCodes: Arb<Int> = <http://Arb.int|Arb.int>(400, 406) + <http://Arb.int|Arb.int>(408, 499)
s
What would you want the return to be ?
another int ?
You can map on an arb(s) to create more.
j
yep,
Arb<Int>
Yeah, I am filtering the 407, but maybe it is a good feature request 🤔
s
<http://Arb.int|Arb.int>(400, 499).filter { it != 407 }