test: add unit test for part two

This commit is contained in:
2025-11-25 23:12:42 +01:00
parent 45c04431cc
commit 3ab410ea06

View File

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