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

Drop 8 and 9 card testing cases #93 #98

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

HenryRLee
Copy link
Owner

Since 8-card evaluator and 9-card evaluator had been deprecated, we no longer need to test these two cases in the test code.

@HenryRLee HenryRLee linked an issue May 3, 2024 that may be closed by this pull request
@HenryRLee HenryRLee requested a review from azriel1rf May 3, 2024 06:54
@azriel1rf
Copy link
Collaborator

Thanks for the PR. I think you might know but the TestSuitsTable in test_dptables.py validates the SUITS array in dptables.py.
Since the purpose of the test is to verify the SUITS array, we need to reconstruct the SUITS table simultaneously with the modifications to the tests.

@HenryRLee HenryRLee force-pushed the fix_dptable_test_todo branch from 20a085e to 4c51e8c Compare May 3, 2024 10:25
@HenryRLee
Copy link
Owner Author

Yeah, let me clean up the table then. There are many cells generated for 8-card and 9-card. But we don't need them now.

@HenryRLee HenryRLee force-pushed the fix_dptable_test_todo branch from 4c51e8c to b96c7fd Compare May 3, 2024 10:57
@HenryRLee HenryRLee marked this pull request as draft May 3, 2024 11:00
@HenryRLee HenryRLee force-pushed the fix_dptable_test_todo branch from b96c7fd to 24d61fd Compare May 3, 2024 11:11
@HenryRLee
Copy link
Owner Author

I think I need to put this on hold. Cleaning up the whole table has some risks without having a unit test covering the evaluation results. Currently, our Python test coverage is very small and all the test cases are fixed scenarios. We may miss some edge cases if not being careful.

@HenryRLee
Copy link
Owner Author

I'll make this PR depends on issue #99.

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.

Resolve edge cases in test_dptables.py
2 participants