mirror of
https://github.com/dnlbauer/WHAM.git
synced 2026-09-10 22:25:31 +00:00
remove 1d test because of cargo size limit
This commit is contained in:
@@ -8,31 +8,10 @@ mod integration {
|
||||
use super::command::get_command;
|
||||
|
||||
#[test]
|
||||
#[ignore] // expensive
|
||||
fn wham_1d() {
|
||||
get_command()
|
||||
.args(&["--bins", "100", "--max", "4.5", "--min", "0.7", "-T", "310"])
|
||||
.args(&["--bt", "100", "--seed", "1234"])
|
||||
.args(&["-f", "example/1d/metadata.dat"])
|
||||
.args(&["-o", "/tmp/wham_test_1d.out"])
|
||||
.output()
|
||||
.expect("failed to execute process");
|
||||
|
||||
assert!(fs::metadata("/tmp/wham_test_1d.out").is_ok());
|
||||
let output = Command::new("diff")
|
||||
.arg("/tmp/wham_test_1d.out")
|
||||
.arg("example/1d/wham.out")
|
||||
.output()
|
||||
.expect("failed to run diff");
|
||||
let output_len = String::from_utf8_lossy(&output.stdout).len();
|
||||
assert_eq!(output_len, 0);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[ignore] // expensive
|
||||
fn wham_1d_cyclic() {
|
||||
get_command()
|
||||
.args(&["--bins", "100", "--max", "pi", "--min", "-pi", "-T", "300", "--cyclic"])
|
||||
.args(&["--bt", "100", "--seed", "1234"])
|
||||
.args(&["-f", "example/1d_cyclic/metadata.dat"])
|
||||
.args(&["-o", "/tmp/wham_test_1d_cyclic.out"])
|
||||
.output()
|
||||
|
||||
Reference in New Issue
Block a user