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

Task 2: Unit test for specific functions part 3 #261

Merged

Conversation

Rahul-JOON
Copy link
Contributor

@Rahul-JOON Rahul-JOON commented Jun 1, 2023

This PR contains the test case for the functions - _calculate_contact_forces_self_rod & _calculate_contact_forces_rod_rod as mentioned in #99.

Because the codebase is not broken, all of the test cases are currently passing.

@Rahul-JOON Rahul-JOON requested a review from skim0119 as a code owner June 1, 2023 22:45
@bhosale2
Copy link
Collaborator

bhosale2 commented Jun 2, 2023

@Rahul-JOON a small note, if you are still making changes to a PR after opening it, please either mark it as WIP or draft unless final to review.

@bhosale2 bhosale2 added enhancement New feature or request prio:high Priority level: high python Pull requests that update Python code labels Jun 2, 2023
@bhosale2 bhosale2 added this to the Version 0.3.2 milestone Jun 2, 2023
@Rahul-JOON
Copy link
Contributor Author

Understood and noted, Thanks @bhosale2

Copy link
Contributor

@armantekinalp armantekinalp left a comment

Choose a reason for hiding this comment

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

LGTM, one minor change.

tests/test_contact_specific_functions.py Outdated Show resolved Hide resolved
Co-authored-by: Arman Tekinalp <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Jun 2, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +2.34 🎉

Comparison is base (d892745) 91.52% compared to head (fcf0105) 93.87%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@               Coverage Diff                @@
##           update-0.3.2     #261      +/-   ##
================================================
+ Coverage         91.52%   93.87%   +2.34%     
================================================
  Files                43       43              
  Lines              2938     2938              
  Branches            341      341              
================================================
+ Hits               2689     2758      +69     
+ Misses              217      144      -73     
- Partials             32       36       +4     
Impacted Files Coverage Δ
elastica/joint.py 82.84% <100.00%> (+22.33%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Collaborator

@bhosale2 bhosale2 left a comment

Choose a reason for hiding this comment

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

LGTM

@bhosale2 bhosale2 merged commit 2e15d97 into GazzolaLab:update-0.3.2 Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request prio:high Priority level: high python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants