Add doctests to bitmask task assignment by adrian-cancio · Pull Request #13150 · TheAlgorithms/Python · GitHub
Skip to content

Add doctests to bitmask task assignment - #13150

Closed
adrian-cancio wants to merge 1 commit into
TheAlgorithms:masterfrom
adrian-cancio:add-doctests-bitmask
Closed

adrian-cancio wants to merge 1 commit into
TheAlgorithms:masterfrom
adrian-cancio:add-doctests-bitmask

Conversation

@adrian-cancio

Copy link
Copy Markdown
Contributor

Describe your change:

Added doctests to dynamic_programming/bitmask.py for the count_no_of_ways method.

Tests cover various task assignment scenarios.

Contributes to #9943

  • Add an algorithm?
  • Fix a bug or typo in an existing algorithm?
  • Add or change doctests?
  • Documentation change?

Checklist:

  • I have read CONTRIBUTING.md
  • This pull request is all my own work -- I have not plagiarized
  • I know that pull requests will not be merged if they fail the automated tests
  • This PR only changes one algorithm file
  • All functions have doctests that pass the automated testing

Added doctests for count_no_of_ways method.

Contributes to TheAlgorithms#9943
@algorithms-keeper

Copy link
Copy Markdown

@algorithms-keeper algorithms-keeper Bot closed this Oct 3, 2025
@algorithms-keeper algorithms-keeper Bot added the awaiting reviews This PR is ready to be reviewed label Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting reviews This PR is ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant