update project structure

This commit is contained in:
Andrew Glaze
2024-12-01 15:21:09 -05:00
parent 79e8198c4b
commit a86940ba8e
4 changed files with 2 additions and 31 deletions

View File

@@ -1,5 +1,5 @@
package org.example
package day01
import kotlin.io.println
import kotlin.math.abs

View File

@@ -1,15 +0,0 @@
/*
* This source file was generated by the Gradle 'init' task
*/
package org.example
class App {
val greeting: String
get() {
return "Hello World!"
}
}
fun main() {
println(App().greeting)
}

View File

@@ -1,4 +1,4 @@
package org.example
package day01
import kotlin.test.Test
import kotlin.test.assertNotNull

View File

@@ -1,14 +0,0 @@
/*
* This source file was generated by the Gradle 'init' task
*/
package org.example
import kotlin.test.Test
import kotlin.test.assertNotNull
class AppTest {
@Test fun appHasAGreeting() {
val classUnderTest = App()
assertNotNull(classUnderTest.greeting, "app should have a greeting")
}
}