Skip to content

Conversation

@eswarseeram
Copy link
Contributor

Changes

  • Line 99: Changed POSITIVE_RADIUS to POSITIVE_HEIGHT in the height validation error message

When height parameter is invalid, the method was throwing "Must be a positive radius" instead of "Must be a positive height", which was misleading.

@codecov-commenter
Copy link

codecov-commenter commented Nov 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.50%. Comparing base (f693c44) to head (cb139d6).

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #7106   +/-   ##
=========================================
  Coverage     78.50%   78.50%           
+ Complexity     6752     6751    -1     
=========================================
  Files           759      759           
  Lines         22402    22402           
  Branches       4400     4400           
=========================================
  Hits          17587    17587           
  Misses         4109     4109           
  Partials        706      706           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@alxkm alxkm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution.

@alxkm alxkm merged commit 1c6026e into TheAlgorithms:master Nov 24, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants