Closed Kestrer closed 4 years ago
I apologise, I'm not very familiar with this code coverage thing. I haven't actually written any additional code but it says that it isn't covered. Please could you edit my PR to fix this?
I apologise, I'm not very familiar with this code coverage thing. I haven't actually written any additional code but it says that it isn't covered. Please could you edit my PR to fix this?
No worries, thanks for the contribution!
You've actually added a few small methods to Mode and PitchClass, they are not covered bystanders unit tests. If you could write tests for those would be appreciated, otherwise i can add the tests.
I've removed all the superfluous doc comments and added tests for the new additions, which all pass.
Awesome! thank you 👍
This PR documents everything and adds
#![warn(missing_docs)]
to ensure that everything is documented.I also ran rustfmt on the code and introduced a couple useful additions such as implementing
FromStr
forPitchClass
, addingMode::is_diatonic
, and implementingFrom<Mode>
forScaleType
.