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

fix(enharmonic_note): address edge cases for items getter #23

Merged
merged 3 commits into from
Apr 8, 2023

Conversation

albertms10
Copy link
Owner

No description provided.

@albertms10 albertms10 added bug Something isn't working refactor The code needs to be refactored test The code needs to implement tests labels Apr 8, 2023
@albertms10 albertms10 self-assigned this Apr 8, 2023
@coveralls
Copy link

Pull Request Test Coverage Report for Build 4647605316

  • 9 of 10 (90.0%) changed or added relevant lines in 2 files are covered.
  • 3 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.6%) to 61.512%

Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/src/note/enharmonic_note.dart 7 8 87.5%
Files with Coverage Reduction New Missed Lines %
lib/src/note/enharmonic_note.dart 1 92.31%
lib/src/note/note.dart 2 50.0%
Totals Coverage Status
Change from base Build 4647399383: -0.6%
Covered Lines: 179
Relevant Lines: 291

💛 - Coveralls

@albertms10 albertms10 merged commit 4ab2a7c into main Apr 8, 2023
@albertms10 albertms10 deleted the fix/address-edge-cases-enharmonic-note-items branch April 8, 2023 23:25
albertms10 added a commit that referenced this pull request Apr 9, 2023
- revert removal of `SplayTreeSet` return in `EnharmonicNote.items` (#23)
albertms10 added a commit that referenced this pull request Apr 9, 2023
* refactor: use `SplayTreeSet.of`

- revert removal of `SplayTreeSet` return in `EnharmonicNote.items` (#23)

* feat: implement Comparable and improve `compareTo` methods

* test: add test cases for `hashCode` and `compareTo` methods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working refactor The code needs to be refactored test The code needs to implement tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants