Skip to content

Commit

Permalink
prepared project for the next 3 days
Browse files Browse the repository at this point in the history
  • Loading branch information
norganos committed Dec 9, 2023
1 parent b391c3f commit 8716681
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies {
implementation("io.micronaut.serde:micronaut-serde-jackson")
implementation("org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlinVersion}")
implementation("de.linkel.aoc:aoc-utils:1.0.1")
implementation("de.linkel.aoc:aoc-utils:1.0.2")
runtimeOnly("ch.qos.logback:logback-classic")
runtimeOnly("com.fasterxml.jackson.module:jackson-module-kotlin")
testImplementation("org.assertj:assertj-core:3.24.2")
Expand Down
8 changes: 4 additions & 4 deletions src/main/kotlin/de/linkel/aoc/Day03.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package de.linkel.aoc

import de.linkel.aoc.base.AbstractLinesAdventDay
import de.linkel.aoc.base.QuizPart
import de.linkel.aoc.utils.append
import de.linkel.aoc.utils.extend
import de.linkel.aoc.utils.intersects
import de.linkel.aoc.utils.prepend
import de.linkel.aoc.utils.mixins.append
import de.linkel.aoc.utils.mixins.extend
import de.linkel.aoc.utils.mixins.intersects
import de.linkel.aoc.utils.mixins.prepend
import jakarta.inject.Singleton

@Singleton
Expand Down
14 changes: 14 additions & 0 deletions src/main/kotlin/de/linkel/aoc/Day10.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package de.linkel.aoc

import de.linkel.aoc.base.AbstractLinesAdventDay
import de.linkel.aoc.base.QuizPart
import jakarta.inject.Singleton

@Singleton
class Day10: AbstractLinesAdventDay<Int>() {
override val day = 10

override fun process(part: QuizPart, lines: Sequence<String>): Int {
return 0
}
}
14 changes: 14 additions & 0 deletions src/main/kotlin/de/linkel/aoc/Day11.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package de.linkel.aoc

import de.linkel.aoc.base.AbstractLinesAdventDay
import de.linkel.aoc.base.QuizPart
import jakarta.inject.Singleton

@Singleton
class Day11: AbstractLinesAdventDay<Int>() {
override val day = 11

override fun process(part: QuizPart, lines: Sequence<String>): Int {
return 0
}
}
14 changes: 14 additions & 0 deletions src/main/kotlin/de/linkel/aoc/Day12.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package de.linkel.aoc

import de.linkel.aoc.base.AbstractLinesAdventDay
import de.linkel.aoc.base.QuizPart
import jakarta.inject.Singleton

@Singleton
class Day12: AbstractLinesAdventDay<Int>() {
override val day = 12

override fun process(part: QuizPart, lines: Sequence<String>): Int {
return 0
}
}
13 changes: 13 additions & 0 deletions src/test/kotlin/de/linkel/aoc/Day10Test.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package de.linkel.aoc

class Day10Test: AbstractDayTest<Int>() {
override val exampleA = """
""".trimIndent()
override val exampleSolutionA = 0
override val solutionA = 0

override val exampleSolutionB = 0
override val solutionB = 0

override val implementation = Day10()
}
13 changes: 13 additions & 0 deletions src/test/kotlin/de/linkel/aoc/Day11Test.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package de.linkel.aoc

class Day11Test: AbstractDayTest<Int>() {
override val exampleA = """
""".trimIndent()
override val exampleSolutionA = 0
override val solutionA = 0

override val exampleSolutionB = 0
override val solutionB = 0

override val implementation = Day11()
}
13 changes: 13 additions & 0 deletions src/test/kotlin/de/linkel/aoc/Day12Test.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package de.linkel.aoc

class Day12Test: AbstractDayTest<Int>() {
override val exampleA = """
""".trimIndent()
override val exampleSolutionA = 0
override val solutionA = 0

override val exampleSolutionB = 0
override val solutionB = 0

override val implementation = Day12()
}

0 comments on commit 8716681

Please sign in to comment.