Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 479 Bytes

pull_request_template.md

File metadata and controls

14 lines (9 loc) · 479 Bytes

Fix bug in calculateArea() function

This pull request fixes a bug in the calculateArea() function that caused incorrect calculations for rectangular shapes.

Description:

  • The bug was caused by an error in handling the width and height arguments.
  • This fix ensures the function calculates the area correctly for all shapes.

Checklist:

  • Added unit tests for the fix.
  • Updated existing unit tests to reflect the changes.
  • Major breaking changes