Skip to content

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

3 participants