Initial Kotlin CI/CD setup
This commit is contained in:
commit
2276f60b2f
13 changed files with 535 additions and 0 deletions
3
src/main/kotlin/Main.kt
Normal file
3
src/main/kotlin/Main.kt
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fun main() {
|
||||
println("Hello, Kotlin CI/CD world!")
|
||||
}
|
||||
10
src/test/kotlin/MainTest.kt
Normal file
10
src/test/kotlin/MainTest.kt
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import kotlin.test.Test
|
||||
import kotlin.test.assertEquals
|
||||
|
||||
class MainTest {
|
||||
@Test
|
||||
fun testExample() {
|
||||
val result = 2 + 2
|
||||
assertEquals(4, result)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue