-
Notifications
You must be signed in to change notification settings - Fork 3
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
Hay 11 unit test #38
base: main
Are you sure you want to change the base?
Hay 11 unit test #38
Conversation
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.
Hey, nice addition. Minor comments.
use tempfile; | ||
|
||
fn get_runtime_types(lems: &mut LemsFile, nml: &[String]) -> Result<()> { | ||
// from main.rs .. should import actually |
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.
Yes, please make a export for it.
.args(["run.sh", "network_L5bPyrCellHayEtAl2011"]) | ||
.current_dir(tmpdir.path()) | ||
.status()?; | ||
tmpdir.close()?; |
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.
Can we do a bit better than just checking it doesn't crash? Example:
Check (with tolerance!) against a known trace.
No actual numerical validation, just