Kotlin, Kotest, Property Based Testing.
be asserted in this kind of tests because the input is randomly generated. I’m not interested in this concrete values but in one of the above conditions. To make this more pratical, let’s see how this can look in the original example of above. Kotest For using Property-based testing in Kotlin