feat: wip on day 9 part 2 solution

This commit is contained in:
Stevan Freeborn
2025-12-18 14:04:21 -06:00
parent a24eb9f9d3
commit 2888719dc5
3 changed files with 133 additions and 17 deletions
+20
View File
@@ -25,3 +25,23 @@ func TestSolvePartOneWithInput(t *testing.T) {
t.Errorf("got %d but wanted %d", result, expected)
}
}
func TestSolvePartTwoWithExampleInput(t *testing.T) {
expected := 24
result := solution.SolvePartTwo("EXAMPLE.txt")
if result != expected {
t.Errorf("got %d but wanted %d", result, expected)
}
}
func TestSolvePartTwoWithInput(t *testing.T) {
expected := -1
result := solution.SolvePartTwo("INPUT.txt")
if result != expected {
t.Errorf("got %d but wanted %d", result, expected)
}
}