TestRunner support in test's build.gradle

* Fixes to tests
 * RunKonanTest runs tests build with TestRunner
 * Standalone tests
This commit is contained in:
Pavel Punegov
2017-10-16 11:45:50 +03:00
parent 9d077d7f4f
commit 35505007d2
29 changed files with 149 additions and 72 deletions
@@ -10,6 +10,6 @@ fun cycle_for(arr: Array<Int>) : Int {
return sum
}
@Test fun main() {
@Test fun runTest() {
if (cycle_for(Array(4, init = { it })) != 6) throw Error()
}