dr.dreigh
04/26/2020, 9:05 PMLeoColman
04/28/2020, 8:13 PMfun <A> Arb<A>.orNull(nullChance: Double = 0.25): Arb<A?>
sam
04/28/2020, 8:20 PM{ it.random.nextDouble() < nullChange }
dr.dreigh
04/30/2020, 7:33 AMorNull(0.25)
a lot, but that's not to say that version of the function needs to exist in Kotest, it'd happily live in our code)sam
04/30/2020, 1:20 PMdr.dreigh
04/30/2020, 4:07 PM