Rename testData/codegen/boxWithStdlib/{jdkAnnotations -> jdk}

This commit is contained in:
Alexander Udalov
2015-04-24 19:54:26 +03:00
committed by Dmitry Jemerov
parent 13c54a2678
commit 448b3f6195
5 changed files with 8 additions and 8 deletions
+15
View File
@@ -0,0 +1,15 @@
import java.util.*
fun box(): String {
val map: MutableMap<String, Int> = HashMap<String, Int>()
map.put("a", 1)
map.put("bb", 2)
map.put("ccc", 3)
map.put("dddd", 4)
if (map.get("a") != 1) return "fail 1"
if (map.size() != 4) return "fail 2"
if (map.get("eeeee") != null) return "fail 3"
if (!map.containsKey("bb")) return "fail 4"
if (map.entrySet().contains("ffffff")) return "fail 5"
return "OK"
}