test: add a validation test for binary mixtures#57
test: add a validation test for binary mixtures#57romainljsimon merged 3 commits intoTheDisorderedOrganization:mainfrom
Conversation
|
@romainljsimon , @leonardogalliano : I mostly did that as a tutorial for myself to learn about the codebase in a "hands-on" fashion. I personally like to include these validation tests in repos, as it gives more thorough examples to potential users, and can serve as non regression tests/long tests when doing major changes. |
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
|
@V-Francois I think it's a great idea but I'm not sure if you want or not this to be part of |
No. It takes a lot of time to run, and currently there's not actual check, I just did a visual look at the plot. |
a86cd1b
into
TheDisorderedOrganization:main
Summary
This PR introduces a validation test, which aims at testing the physical results of the code as a whole, rather than independent bits of the code (usually handled by unit tests).
This tests runs a binary mixture of LJ particles, at different conditions, and compares results to published data.
It validates that the overall MC algorithm, the displacement move, and the LJ model are properly implemented.