test: add unit test for part two

This commit is contained in:
2025-12-03 10:10:45 +01:00
parent e3c9da9621
commit 56901ca553

View File

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