18 lines
No EOL
357 B
Kotlin
18 lines
No EOL
357 B
Kotlin
package com.example
|
|
|
|
class ExampleTest {
|
|
fun verifyHello() {
|
|
if ("Hello World!" != Example().message) {
|
|
throw AssertionError()
|
|
} else {
|
|
println("Succeeded")
|
|
}
|
|
}
|
|
|
|
companion object {
|
|
@JvmStatic
|
|
fun main(args: Array<String>) {
|
|
ExampleTest().verifyHello()
|
|
}
|
|
}
|
|
} |