feat: I think I'm getting closer

This commit is contained in:
Stevan Freeborn
2025-12-22 08:30:19 -06:00
parent 3cde531610
commit b78ca2d2b9
2 changed files with 106 additions and 13 deletions
+20
View File
@@ -48,3 +48,23 @@ func TestSolvePartTwoWithInput(t *testing.T) {
t.Errorf("SolvePartTwo(INPUT.txt) = %d; want %d", result, expected)
}
}
func TestSolvePartTwoAgainWithExampleInput(t *testing.T) {
expected := 2
result := solution.SolvePartTwoAgain("EXAMPLE_TWO.txt")
if result != expected {
t.Errorf("SolvePartTwoAgain(EXAMPLE_TWO.txt) = %d; want %d", result, expected)
}
}
func TestSolvePartTwoAgainWithInput(t *testing.T) {
expected := -1
result := solution.SolvePartTwoAgain("INPUT.txt")
if result != expected {
t.Errorf("SolvePartTwoAgain(INPUT.txt) = %d; want %d", result, expected)
}
}