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

Improve tutorial tests #3058

Closed
3 of 4 tasks
jngrad opened this issue Aug 6, 2019 · 1 comment · Fixed by #3408
Closed
3 of 4 tasks

Improve tutorial tests #3058

jngrad opened this issue Aug 6, 2019 · 1 comment · Fixed by #3408
Assignees

Comments

@jngrad
Copy link
Member

jngrad commented Aug 6, 2019

Some tutorial tests only execute the tutorials, without checking numerical results:

@jngrad jngrad added the Testcase label Aug 6, 2019
@jngrad jngrad added this to the Espresso 4.1 milestone Aug 6, 2019
@jonaslandsgesell
Copy link
Member

01 lennard jones fluid: We could show the published result for the LJ rdf in the tutorial and use it in the test for the LJ tutorial:
https://www.sciencedirect.com/science/article/pii/S0301010404005452
However the number of fit parameters seem excessive to me. Maybe we can only check for the limiting behaviour lim r-> 0 g(r) =0, lim r-> infty g(r)=1.

@jngrad jngrad removed this from the Espresso 4.1 milestone Sep 27, 2019
@jngrad jngrad self-assigned this Dec 31, 2019
@kodiakhq kodiakhq bot closed this as completed in #3408 Jan 22, 2020
kodiakhq bot added a commit that referenced this issue Jan 22, 2020
Description of changes:
- tutorial 05 raspberry electrophoresis (fixes #3058)
   - plot the final trajectory in a matplotlib 3D plot
   - add test to check the raspberry traveled a longer distance over the axis of the E-field
   - test the sample .dat file as well
- tutorial 01 Lennard-Jones (fixes #3185)
   - plot and test the experimental RDF against the theoretical RDF
- tutorial 04 LB Part 4 solution script
   - added the solution script in the HTML output and fixed its test
- use AST to process Jupyter notebooks containing matplotlib code (fixes #3215)
- fix CMake dependency resolution for tutorials
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants