Skip to content

Commit 63a3bbb

Browse files
committed
Day 16 part 2 extra test for giggles
1 parent 8baeccb commit 63a3bbb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/test/kotlin/com/cluddles/aoc/y2024/Day16Test.kt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,16 @@ class Day16Test {
2727
assertThat(solver.solvePart2(input2)).isEqualTo(64)
2828
}
2929

30+
@Test fun part2_trivialOrIsIt() {
31+
val text = """
32+
#####
33+
#..E#
34+
#...#
35+
#S..#
36+
#####
37+
""".trimIndent()
38+
val input = solver.prepareInput(SolverInput.fromText(text))
39+
assertThat(solver.solvePart2(input)).isEqualTo(9)
40+
}
41+
3042
}

0 commit comments

Comments
 (0)