add a comment

This commit is contained in:
Weird Constructor 2022-07-27 18:48:50 +02:00
parent d6a734089c
commit c495725f48

View file

@ -138,7 +138,6 @@ fn check_node_scope_sine_2hz() {
assert_float_eq!(min, -1.0); assert_float_eq!(min, -1.0);
} }
#[test] #[test]
fn check_node_scope_sine_oversampled() { fn check_node_scope_sine_oversampled() {
let (node_conf, mut node_exec) = new_node_engine(); let (node_conf, mut node_exec) = new_node_engine();
@ -164,18 +163,10 @@ fn check_node_scope_sine_oversampled() {
assert_decimated_feq!( assert_decimated_feq!(
maxv[0..25], maxv[0..25],
5, 5,
// We expect multiple copies of the same sample at the
// time resolution of 1 millisecond.
vec![ vec![
0.4506, 0.4506, 0.4506, 0.4506, 0.3938, 0.3938, 0.3354, 0.3354, 0.2150, 0.2150, 0.1534, 0.1534,
0.4506,
0.4506,
0.3938,
0.3938,
0.3354,
0.3354,
0.2150,
0.2150,
0.1534,
0.1534,
0.1534, 0.1534,
] ]
); );