OceanParcels / plasticparcels

Repository for PlasticParcels tool
MIT License
3 stars 2 forks source link

Broadening the unit tests #37

Closed michaeldenes closed 4 months ago

michaeldenes commented 4 months ago

This PR is to include unit tests for all of the functions in the constructors, and tests for all of the kernels.

codecov-commenter commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 66.14%. Comparing base (c9deffc) to head (7e8006b).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #37 +/- ## =========================================== + Coverage 15.43% 66.14% +50.70% =========================================== Files 6 8 +2 Lines 473 700 +227 =========================================== + Hits 73 463 +390 + Misses 400 237 -163 ``` | [Flag](https://app.codecov.io/gh/OceanParcels/plasticparcels/pull/37/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OceanParcels) | Coverage Δ | | |---|---|---| | [unit-tests](https://app.codecov.io/gh/OceanParcels/plasticparcels/pull/37/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OceanParcels) | `66.14% <100.00%> (+50.70%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OceanParcels#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.