-
Notifications
You must be signed in to change notification settings - Fork 24
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
test: add tests #936
test: add tests #936
Conversation
6a17649
to
c5e5772
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good test. All derivatives have not been implemented for PC-SAFT as you see.
Therefore properties requiring higher order derivatives might be wrong (eg. Cp), but I'm not sure. Fugacity and density should be ok. But I think how you have set it up is fine.
All the test values are fine at my mac, but the values found in the build env are quite different so that speaks of some numerical issues. Especially seen for higher order derivatives. Regarding the non-implemented functions, my intent here was to add tests before removing the methods that are purely redundant copies of code in parent class phasepcsaft.java. Interestingly I also saw that the phasepcsaftrahmat was in use for systempcsaft, not phasepcsaft |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #936 +/- ##
============================================
+ Coverage 33.69% 34.69% +0.99%
- Complexity 5129 5274 +145
============================================
Files 700 700
Lines 69741 69741
Branches 7984 7984
============================================
+ Hits 23501 24196 +695
+ Misses 44763 44063 -700
- Partials 1477 1482 +5 ☔ View full report in Codecov by Sentry. |
Yes - this is ok. The model was developed as part of the PhD thesis by Rhamat W.: |
Nice, be free to merge it when you are ready |
No description provided.