-
Notifications
You must be signed in to change notification settings - Fork 33
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
Fixed marked_cards_count #57
base: master
Are you sure you want to change the base?
Conversation
Hi @MimmyJau, Thanks for working on this! Do you know if the issue referenced in the Do you wanna have a crack at writing a simple test for this? Maybe |
Hi @mpereira, the game still works fine without this change! Or at least I never came across any issues. My reason for changing it came from thinking about a potential re-implementation of And sounds good! Happy to take a first pass at writing a test. Would it be best to have this test in |
… current implementation of marked_cards_count().
This is a first attempt at writing tests for
Notes / Questions:
|
Hi @MimmyJau, Thanks for the tests! I'll make some time to look into your changes this weekend. |
I believe this fixes the issue of
marked_cards_count()
not working if no cards are marked.I am willing to build out some tests to make sure this works as expected, however I may need some guidance on this as there are currently no tests for keyboard_test.c.
Open to any feedback. Thanks.