forge
Explore
Log in

Don't you dare go Hollow

ec-dsp doctests: drop the asserts on the error helpers U13 made test-only

Browse files at this commit

9cef65785ff6bb9a69b45f3f4ed001a431cc5873Ahmet Kaan GümüşParent: 4b975ad
crates/ec-dsp/src/mdct.rsmodified+0 -2
@@ -30,8 +30,6 @@ use crate::dct::Dct4;
3030 /// let mut mdct = Mdct::<f32>::new(2048);
3131 /// assert_eq!(mdct.spectrum_len(), 1024);
3232 /// let window = Window::<f32>::sine(2048);
33-/// let error = mdct.perfect_reconstruction_error(&window, 0x51de);
34-/// assert!(error < 1e-6, "TDAC error {error}");
3533 /// ```
3634 #[derive(Clone, Debug)]
3735 pub struct Mdct<T: Real> {
crates/ec-dsp/src/window.rsmodified+0 -1
@@ -21,7 +21,6 @@ use crate::Real;
2121 ///
2222 /// let w = Window::<f64>::kbd(2048, 4.0);
2323 /// assert_eq!(w.len(), 2048);
24-/// assert!(w.princen_bradley_error() < 1e-12);
2524 /// ```
2625 #[derive(Clone, Debug, PartialEq)]
2726 pub struct Window<T: Real> {