Add doctests to chaos machine by adrian-cancio · Pull Request #13151 · TheAlgorithms/Python · GitHub
Skip to content

Add doctests to chaos machine - #13151

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

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

Conversation

@adrian-cancio

Copy link
Copy Markdown
Contributor

Describe your change:

Added doctests to hashes/chaos_machine.py for push and reset functions.

Tests verify state transitions and initialization behavior.

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 push and reset functions.

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