test: unit test for part two

This commit is contained in:
2025-12-08 21:55:29 +01:00
parent 42c69d44e5
commit 62748990cb

View File

@@ -18,3 +18,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 := 70
got := PartTwo(testInput)
if got != expected {
t.Errorf("PartTwo() = %d, want %d", got, expected)
}
}