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

TST: Add unit test for get_value_opt method #505

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

Gui-FernandesBR
Copy link
Member

Pull request type

  • Other (please describe): Tests

Checklist

  • Tests for the changes have been added (if needed)
  • Lint (black rocketpy/ tests/) has passed locally
  • All tests (pytest --runslow) have passed locally

Current behavior

The tests don't cover some lines of the get_value_opt when the interpolation method is set to shepard.

New behavior

Added this new test function, let's see.

Breaking change

  • No

Additional information

Trying to support the #501

Copy link

codecov bot commented Dec 7, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (enh/get-value-opt-method@d4dbbce). Click here to learn what that means.

Additional details and impacted files
@@                     Coverage Diff                     @@
##             enh/get-value-opt-method     #505   +/-   ##
===========================================================
  Coverage                            ?   71.16%           
===========================================================
  Files                               ?       55           
  Lines                               ?     9273           
  Branches                            ?        0           
===========================================================
  Hits                                ?     6599           
  Misses                              ?     2674           
  Partials                            ?        0           
Flag Coverage Δ
unittests 71.16% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Gui-FernandesBR Gui-FernandesBR merged commit 1a822a3 into enh/get-value-opt-method Dec 7, 2023
12 checks passed
@Gui-FernandesBR Gui-FernandesBR deleted the tst/test_get_value_opt branch December 7, 2023 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tests Regarding Tests
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

2 participants