Avoid using JVM only APIs in IC tests to reuse with JS

This commit is contained in:
Alexey Tsvetkov
2017-07-13 07:47:09 +03:00
parent 23bc907d3f
commit e16c5ddb97
6 changed files with 14 additions and 14 deletions
@@ -1,6 +1,2 @@
import java.util.Random
fun getRandomEnumEntry() =
with (Enum.values()) {
get(Random().nextInt(size))
}
Enum.values()[1]