1
1
Fork 0
AtomicKotlinCourse/Programming Basics/Hello, World/Exercise 1/test/Tests.kt

15 lines
362 B
Kotlin

package helloWorldExercise1
import org.junit.Test
import util.*
class TestHelloWorldExercise1 {
@Test(timeout = TIMEOUT)
fun test() {
val fileFacade = loadFileFacade("helloWorldExercise1")
val mainFunction = loadMainFunction(fileFacade)
runAndCheckSystemOutput("Wrong output", "Hello, Kotlin!") {
mainFunction.invoke(Object())
}
}
}