test: add unit test for part two

This commit is contained in:
2025-12-20 09:18:32 +01:00
parent bb366fbe17
commit 6ea67eac0c

View File

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