Skip to content

Conversation

adrian-cancio
Copy link

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

Multiple Pull Request Detected

@adrian-cancio, we are extremely excited that you want to submit multiple algorithms in this repository but we have a limit on how many pull request a user can keep open at a time. This is to make sure all maintainers and users focus on a limited number of pull requests at a time to maintain the quality of the code.

This pull request is being closed as the user already has an open pull request. Please focus on your previous pull request before opening another one. Thank you for your cooperation.

User opened pull requests (including this one): #13151, #13149, #13147, #13146

@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