[K/N][tests] Adjust moved tests to new testing infra
^KT-61259
This commit is contained in:
committed by
Space Team
parent
0a0da76a56
commit
e68bd1f04f
@@ -2,15 +2,14 @@
|
||||
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
|
||||
* that can be found in the LICENSE file.
|
||||
*/
|
||||
|
||||
package runtime.basic.initializers4
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
const val INT_MAX_POWER_OF_TWO: Int = Int.MAX_VALUE / 2 + 1
|
||||
val DOUBLE = Double.MAX_VALUE - 1.0
|
||||
|
||||
@Test fun runTest() {
|
||||
println(INT_MAX_POWER_OF_TWO)
|
||||
println(DOUBLE > 0.0)
|
||||
fun box(): String {
|
||||
assertEquals(1073741824, INT_MAX_POWER_OF_TWO)
|
||||
assertTrue(DOUBLE > 0.0)
|
||||
|
||||
return "OK"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user