1
0
Fork 0

Shorten miri tests

These extra iterations shouldn't matter, and miri is pretty slow.
This commit is contained in:
Robbert van der Helm 2022-02-13 15:54:19 +01:00
parent 7d3beb174e
commit 16c0dc8b1e

View file

@ -213,13 +213,13 @@ mod miri {
} }
for mut samples in buffer.iter_mut() { for mut samples in buffer.iter_mut() {
for _ in 0..10 { for _ in 0..2 {
for sample in samples.iter_mut() { for sample in samples.iter_mut() {
*sample += 0.001; *sample += 0.001;
} }
} }
} }
assert_eq!(real_buffers[0][0], 0.011000001); assert_eq!(real_buffers[0][0], 0.003);
} }
} }