Clean warnings and refactor stdlib tests.

Merge RangeJVMTest into RangeTest.
This commit is contained in:
Ilya Gorbunov
2017-04-12 09:23:57 +03:00
parent ac46f1e23d
commit 6ae19e03d5
32 changed files with 133 additions and 124 deletions
+1
View File
@@ -11,6 +11,7 @@ class ComplexMapJsTest : MapJsTest() {
HashMap<K, Int>()
HashMap<K, Int>(3)
HashMap<K, Int>(3, 0.5f)
@Suppress("UNCHECKED_CAST")
val map = HashMap<K, Int>(createTestMap() as HashMap<K, Int>)
assertEquals(KEYS.toNormalizedList(), map.keys.toNormalizedList() as List<Any>)
+1
View File
@@ -12,6 +12,7 @@ class ComplexSetJsTest : SetJsTest() {
HashSet<T>(3)
HashSet<T>(3, 0.5f)
@Suppress("UNCHECKED_CAST")
val set = HashSet<T>(data as HashSet<T>)
assertEquals(data, set)