test: add unit test for part two

This commit is contained in:
2026-01-11 01:14:53 +01:00
parent b9e5e29edc
commit 2a36b7c21f

View File

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