Skip to content

Resolve edge cases in test_dptables.py #93

@azriel1rf

Description

@azriel1rf

In the test_dptables.py file, there is a TODO comment that needs to be addressed.
The comment is located in the loop that generates combinations and updates the table variable, specifically in the case where idx is in [72, 520, 576].

Here's the relevant code:

if idx in [72, 520, 576] and SUITS[idx] != suit + 1:
    continue

The TODO comment suggests that there might be an issue with the way the table is being updated when idx is one of the specified values. This needs to be investigated and resolved.

Acceptance Criteria:

  • Implement a fix if necessary.
  • Add or update unit tests to cover these specific cases.
  • Ensure that all tests pass after the changes.
  • Remove the TODO comment once the issue has been resolved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions