Skip to content

Conversation

adrian-cancio
Copy link

Describe your change:

Added comprehensive doctests to digital_image_processing/change_brightness.py.

Tests cover brightness increase, decrease, and error handling for invalid levels.

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 comprehensive doctests for change_brightness function.

Contributes to TheAlgorithms#9943
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 enhancement This PR modified some existing files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants