blob: 11802fcd1072844a461e07d17a965c66f0f0a1ba [file]
fun box(): String = runAll(
"test1" to { test1() },
"test2" to { test2(true, false) },
)
fun test1() {
assert(1 + 1 == 4)
}
fun test2(a: Boolean, b: Boolean) {
assert(a + b)
}
operator fun Boolean.plus(b: Boolean) = this && b