test: add unit test for part two

This commit is contained in:
2025-12-09 06:45:39 +01:00
parent f25d7511aa
commit ccf50c12c9

View File

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