Skip to content

Correctly set up pairs for tideman print_winner tests#398

Open
max-min-median wants to merge 1 commit intocs50:2026/xfrom
max-min-median:2026/x
Open

Correctly set up pairs for tideman print_winner tests#398
max-min-median wants to merge 1 commit intocs50:2026/xfrom
max-min-median:2026/x

Conversation

@max-min-median
Copy link
Copy Markdown

Students are often frustrated by their print_winner checks failing.
The reason for the failure is that they perform checks using the pairs array, but the pairs array is not initialized by the test.

This PR fixes that by setting up the pairs array appropriately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant