test: add unit test for part two

This commit is contained in:
2025-12-07 09:55:03 +01:00
parent 78b0032578
commit 8f4e11215f

View File

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