test: add unit test for part two

This commit is contained in:
2025-12-02 21:57:27 +01:00
parent d16f70cf00
commit c61e573e14

View File

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