Skip to content

Conversation

@asmitha-16
Copy link

This PR improves the perfect square validation by:

  • Returning false for negative input values
  • Preventing invalid calculations in Math.sqrt and Math.pow

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.00%. Comparing base (1644db2) to head (b8b18e2).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #7207      +/-   ##
============================================
+ Coverage     78.99%   79.00%   +0.01%     
- Complexity     6913     6915       +2     
============================================
  Files           776      776              
  Lines         22843    22847       +4     
  Branches       4488     4488              
============================================
+ Hits          18045    18051       +6     
+ Misses         4077     4076       -1     
+ Partials        721      720       -1     

☔ 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.

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.

2 participants