Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match cpp_example output to assertion #82

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

jabenninghoff
Copy link
Contributor

Fixes cpp_example. Small code change that appears to match the intent of the example.

Output before fix:

% ./cpp_example                 
The rank of the hand in player 1 is 292
The rank of the hand in player 2 is 236
Player 2 has a stronger hand
Player 2 has a Full House
More specifically, player 2 has a Full House
The best hand from player 2 is 99944

Output after fix:

% ./cpp_example
The rank of the hand in player 1 is 292
The rank of the hand in player 2 is 236
Player 2 has a stronger hand
Player 2 has a Full House
More specifically, player 2 has a Nines Full over Fours
The best hand from player 2 is 99944

Copy link
Owner

@HenryRLee HenryRLee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

@HenryRLee HenryRLee merged commit ce038ae into HenryRLee:master Dec 22, 2023
6 checks passed
@jabenninghoff jabenninghoff deleted the fix-cpp_example branch December 22, 2023 16:26
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.

2 participants