Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add equals method to compare money objects #75

Closed
wants to merge 1 commit into from

Conversation

ericelliott
Copy link
Owner

@ericelliott ericelliott commented Oct 5, 2024

Fixes #18

Add equals method to compare money objects.

  • src/index.js

    • Add equals method to the money object.
    • Implement equals method to compare the value of two money objects.
    • Export equals comparative utility.
  • src/index.test.js

    • Add tests for the equals method.
    • Verify that the equals method correctly compares two money objects.
    • Add tests for the equals comparative utility.
  • README.md

    • Document the equals method for money objects.
    • Provide examples of how to use the equals method.
    • Document the equals comparative utility.

For more details, open the Copilot Workspace session.

Fixes #18

Add `equals` method to compare money objects.

* **src/index.js**
  - Add `equals` method to the money object.
  - Implement `equals` method to compare the value of two money objects.
  - Export `equals` comparative utility.

* **src/index.test.js**
  - Add tests for the `equals` method.
  - Verify that the `equals` method correctly compares two money objects.
  - Add tests for the `equals` comparative utility.

* **README.md**
  - Document the `equals` method for money objects.
  - Provide examples of how to use the `equals` method.
  - Document the `equals` comparative utility.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ericelliott/moneysafe/issues/18?shareId=XXXX-XXXX-XXXX-XXXX).
@ericelliott ericelliott closed this Oct 5, 2024
@ericelliott ericelliott deleted the add-equals-method branch October 5, 2024 18:35
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.

Expose .equals
1 participant