feat: solve day 12 and there is no part 2

This commit is contained in:
Stevan Freeborn
2025-12-24 08:35:14 -06:00
parent f99af72e2e
commit 52b76f4ce5
5 changed files with 351 additions and 48 deletions
+13 -2
View File
@@ -6,8 +6,9 @@ import (
solution "github.com/StevanFreeborn/advent-of-code-2025/cmd/12"
)
func TestSolvePartOne(t *testing.T) {
expected := -1
// NOTE: This takes long time
func TestSolvePartOneWithExampleInput(t *testing.T) {
expected := 2
result := solution.SolvePartOne("EXAMPLE.txt")
@@ -15,3 +16,13 @@ func TestSolvePartOne(t *testing.T) {
t.Errorf("got %d but wanted %d", result, expected)
}
}
func TestSolvePartOneWithInput(t *testing.T) {
expected := 550
result := solution.SolvePartOne("INPUT.txt")
if result != expected {
t.Errorf("got %d but wanted %d", result, expected)
}
}