41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
12 lines
225 B
Kotlin
12 lines
225 B
Kotlin
enum class Color {
|
|
RED
|
|
BLUE
|
|
}
|
|
|
|
fun box() = if(
|
|
Color.valueOf("RED") == Color.RED
|
|
&& Color.valueOf("BLUE") == Color.BLUE
|
|
&& Color.values()[0] == Color.RED
|
|
&& Color.values()[1] == Color.BLUE
|
|
) "OK" else "fail"
|