Skip to content

Conversation

@duvvuvenkataramana
Copy link

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.
  • All filenames are in PascalCase.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • All new code is formatted with clang-format -i --style=file path/to/your/file.java

@codecov-commenter
Copy link

Codecov Report

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

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #7097      +/-   ##
============================================
+ Coverage     78.50%   78.52%   +0.01%     
- Complexity     6752     6756       +4     
============================================
  Files           759      760       +1     
  Lines         22402    22413      +11     
  Branches       4400     4402       +2     
============================================
+ Hits          17587    17600      +13     
+ Misses         4109     4108       -1     
+ Partials        706      705       -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.

- Implemented ArmstrongNumber.isArmstrong() method
- Added comprehensive unit tests for Armstrong numbers
- Includes documentation with examples
- Handles edge cases (negative numbers, zero)
- Tests cover known Armstrong numbers: 0, 1, 153, 370, 371, 407, 1634

Signed-off-by: duvvuvenkataramana <[email protected]>
- Added explicit cast from double to int for Math.pow result
- Resolves 'implicit cast is possibly lossy' compiler warning
- Project uses -Werror flag which treats warnings as errors

Signed-off-by: duvvuvenkataramana <[email protected]>
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