Nvm. I figured it out by looking more closely at t...
# kotest
t
Nvm. I figured it out by looking more closely at the types. For posterity, you need to combine the values to create a new
Generator
, i.e.
Copy code
Arb.bind(Arb.string(), Arb.string()) { s1, s2 -> Pair(s1, s2) }.checkAll { (s1, s2) -> ... }
Sorry for the noise.
rubber duck 3
e
Note that there's no need to bind into the pair first. You could just use
checkAll
in case you simply want to test two strings: https://kotest.io/docs/proptest/property-test-functions.html#check-all