public inline fun runTest(f: () -> R): R { return f() } public inline fun minByTest(f: (Int) -> R): R { var minValue = f(1) val v = f(1) return v }