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

139b Add unit tests for plotting and Thevenin model #212

Merged
merged 12 commits into from
Feb 23, 2024

Conversation

NicolaCourtier
Copy link
Member

No description provided.

Copy link

codecov bot commented Feb 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.29%. Comparing base (37e4062) to head (92a5cf3).
Report is 7 commits behind head on 139-split-integration-unit-tests.

Additional details and impacted files
@@                          Coverage Diff                          @@
##           139-split-integration-unit-tests     #212       +/-   ##
=====================================================================
+ Coverage                             81.97%   94.29%   +12.32%     
=====================================================================
  Files                                    32       32               
  Lines                                  1614     1614               
=====================================================================
+ Hits                                   1323     1522      +199     
+ Misses                                  291       92      -199     

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

Copy link
Member

@BradyPlanden BradyPlanden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fast PR @NicolaCourtier! I've added a few comments, but looks great overall. I think we can use a fixture in test_models.py to avoid duplicating the parameterize block.

tests/unit/test_models.py Outdated Show resolved Hide resolved
tests/unit/test_models.py Outdated Show resolved Hide resolved
tests/unit/test_plots.py Show resolved Hide resolved
tests/unit/test_plots.py Show resolved Hide resolved
@NicolaCourtier NicolaCourtier merged commit 54e97f5 into 139-split-integration-unit-tests Feb 23, 2024
31 checks passed
@NicolaCourtier NicolaCourtier deleted the 139b-add-tests branch February 23, 2024 11:38
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.

2 participants