Stdlib: run all stdlib tests with JS backend(as possible).

This commit is contained in:
Zalim Bashorov
2014-10-10 17:10:17 +04:00
parent f20ee6df4b
commit f202ad9f98
18 changed files with 252 additions and 208 deletions
+4 -4
View File
@@ -5,10 +5,10 @@ import java.math.BigInteger
import java.math.BigDecimal
import kotlin.test.*
import junit.framework.TestCase
import org.junit.Test as test
class MathTest : TestCase() {
fun testBigInteger() {
class MathTest {
test fun testBigInteger() {
val a = BigInteger("2")
val b = BigInteger("3")
@@ -21,7 +21,7 @@ class MathTest : TestCase() {
assertEquals(BigInteger("-2"), -a remainder b)
}
fun testBigDecimal() {
test fun testBigDecimal() {
val a = BigDecimal("2")
val b = BigDecimal("3")