Skip to content

Conversation

@alyanany
Copy link

Added a function that calculated the surface area for a Pyramid at the bottom of the Area.java file within the src code.

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.96%. Comparing base (8930369) to head (2c61214).

Files with missing lines Patch % Lines
src/main/java/com/thealgorithms/maths/Area.java 0.00% 7 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6902      +/-   ##
============================================
- Coverage     78.00%   77.96%   -0.04%     
  Complexity     6444     6444              
============================================
  Files           737      737              
  Lines         21519    21526       +7     
  Branches       4208     4209       +1     
============================================
- Hits          16785    16783       -2     
- Misses         4062     4070       +8     
- Partials        672      673       +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.

* @param slantHeight slant height of the pyramid
* @return surface area of the given pyramid
*/
public static double surfaceAreaPyramid(final double sideLength, final double slantHeight) {
Copy link
Author

Choose a reason for hiding this comment

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

Why did you make it public... "Aly Anany"

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