remove 1d test because of cargo size limit

This commit is contained in:
Daniel Bauer
2020-03-08 12:52:55 +01:00
parent 1a95f222eb
commit 133234706e
41 changed files with 103 additions and 3400272 deletions

View File

@@ -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()