[Native][tests] Add a directive to specify test runner type

This commit is contained in:
Dmitriy Dolovov
2021-12-06 19:13:50 +03:00
parent 580328ece7
commit 3e54bb06ee
13 changed files with 202 additions and 16 deletions
@@ -0,0 +1,23 @@
// TEST_RUNNER: DEFAULT
import kotlin.test.*
@Test
fun addition() {
assertEquals(42, 40 + 2)
}
@Test
fun multiplication () {
assertEquals(42, 21 * 2)
}
@Test
fun subtraction () {
assertEquals(42, 50 - 8)
}
@Test
fun division () {
assertEquals(42, 126 / 3)
}