Skip to content

Commit 82159fe

Browse files
committed
Decreased range in tests to decrease test time
1 parent 86fcab6 commit 82159fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/signal_analysis/yin.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ mod tests {
180180

181181
#[test]
182182
fn test_sine_frequency_range() {
183-
let sample_rate = 10000.0;
184-
for freq in 10..50 {
183+
let sample_rate = 5000.0;
184+
for freq in 30..50 {
185185
let frequency = freq as f64;
186186
let seconds = 2.0;
187187
let signal = generate_sine_wave(frequency, sample_rate, seconds);

0 commit comments

Comments
 (0)