Merge boxWithStdlib testData into box, delete BoxWithStdlib test

This commit is contained in:
Alexander Udalov
2016-03-07 13:36:14 +03:00
committed by Alexander Udalov
parent 22bfc9786a
commit 06a67e6602
535 changed files with 3520 additions and 3871 deletions
@@ -0,0 +1,20 @@
// WITH_RUNTIME
import kotlin.test.assertEquals
fun box(): String {
assertEquals(java.lang.Integer.MIN_VALUE, Int.MIN_VALUE)
assertEquals(java.lang.Byte.MAX_VALUE, Byte.MAX_VALUE)
/*
// TODO: uncomment when callable references to object members are supported
assertEquals("MIN_VALUE", (Int.Companion::MIN_VALUE).name)
assertEquals("MAX_VALUE", (Double.Companion::MAX_VALUE).name)
assertEquals("MIN_VALUE", (Float.Companion::MIN_VALUE).name)
assertEquals("MAX_VALUE", (Long.Companion::MAX_VALUE).name)
assertEquals("MIN_VALUE", (Short.Companion::MIN_VALUE).name)
assertEquals("MAX_VALUE", (Byte.Companion::MAX_VALUE).name)
*/
return "OK"
}