<@U0QAY96MA> I do believe that the usual way is to...
# kotlintest
l
@thanksforallthefish I do believe that the usual way is to use an external library or a DSL, but Kotlin have the function
require
, and I believe you can use it and implement your own comparisons.
Copy code
fun assertBiggerThan10(foo: Int) {
    require(foo > 10) { "Must be > 10" } 
}