Skip to content

Commit c6757ff

Browse files
refactor: format
1 parent 7683447 commit c6757ff

File tree

1 file changed

+26
-24
lines changed

1 file changed

+26
-24
lines changed

packages/treetime-convolution/src/testing/test_suites/gaussian_exponential.rs

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -32,30 +32,32 @@ impl TestSuite for GaussianExponentialTestSuite {
3232
}
3333

3434
fn create_test_cases(&self) -> Vec<Self::TestCase> {
35-
vec![GaussianExponentialTestCase {
36-
name: "python_notebook_case".to_owned(),
37-
description: "Parameters from conv_gauss_exp.ipynb: a_f=0.5".to_owned(),
38-
stress_type: "reference implementation validation".to_owned(),
39-
analytical_caution: "none".to_owned(),
40-
slowness: 0.0,
41-
a_f: 0.5,
42-
input_grid_domain: (-5.0, 40.0),
43-
input_grid_n_points: 101,
44-
output_grid_domain: (-5.0, 25.0),
45-
output_grid_n_points: 101,
46-
},
47-
GaussianExponentialTestCase {
48-
name: "python_notebook_case_fine".to_owned(),
49-
description: "Parameters from conv_gauss_exp.ipynb: a_f=0.5".to_owned(),
50-
stress_type: "reference implementation validation".to_owned(),
51-
analytical_caution: "none".to_owned(),
52-
slowness: 0.0,
53-
a_f: 0.5,
54-
input_grid_domain: (-5.0, 40.0),
55-
input_grid_n_points: 501,
56-
output_grid_domain: (-5.0, 25.0),
57-
output_grid_n_points: 101,
58-
}]
35+
vec![
36+
GaussianExponentialTestCase {
37+
name: "python_notebook_case".to_owned(),
38+
description: "Parameters from conv_gauss_exp.ipynb: a_f=0.5".to_owned(),
39+
stress_type: "reference implementation validation".to_owned(),
40+
analytical_caution: "none".to_owned(),
41+
slowness: 0.0,
42+
a_f: 0.5,
43+
input_grid_domain: (-5.0, 40.0),
44+
input_grid_n_points: 101,
45+
output_grid_domain: (-5.0, 25.0),
46+
output_grid_n_points: 101,
47+
},
48+
GaussianExponentialTestCase {
49+
name: "python_notebook_case_fine".to_owned(),
50+
description: "Parameters from conv_gauss_exp.ipynb: a_f=0.5".to_owned(),
51+
stress_type: "reference implementation validation".to_owned(),
52+
analytical_caution: "none".to_owned(),
53+
slowness: 0.0,
54+
a_f: 0.5,
55+
input_grid_domain: (-5.0, 40.0),
56+
input_grid_n_points: 501,
57+
output_grid_domain: (-5.0, 25.0),
58+
output_grid_n_points: 101,
59+
},
60+
]
5961
}
6062
}
6163

0 commit comments

Comments
 (0)