0df71bd696
- initialize environment only once in setUp() - add comments on why some tests are disabled - modify and rename some tests - re-enable now working tests - extract some tests into files with box() - remove useless 'throws' declarations and commented code
12 lines
240 B
Kotlin
12 lines
240 B
Kotlin
import java.util.HashMap
|
|
|
|
fun HashMap<String, Int?>.set(index: String, elem: Int?) {
|
|
this.put(index, elem)
|
|
}
|
|
|
|
fun box(): String {
|
|
val s = HashMap<String, Int?>()
|
|
s["239"] = 239
|
|
return if (s["239"] == 239) "OK" else "Fail"
|
|
}
|