test: add unit test for part two

This commit is contained in:
2025-12-08 12:30:10 +01:00
parent 22500b7076
commit 630d32ba11

View File

@@ -32,3 +32,11 @@ func TestPartOne(t *testing.T) {
t.Errorf("PartOne() = %d, want %d", got, expected)
}
}
func TestPartTwo(t *testing.T) {
expected := 25272
got := PartTwo(testInput)
if got != expected {
t.Errorf("PartTwo() = %d, want %d", got, expected)
}
}