pub struct GoldenFixture {
pub name: &'static str,
pub sample_rate_hz: u32,
pub input: Vec<Vec<f32>>,
pub expected: Vec<Vec<f32>>,
}Expand description
A deterministic input/expected-output pair for regression-testing a
Processor offline.
Fields§
§name: &'static strFixture name.
sample_rate_hz: u32Sample rate used when preparing the processor.
input: Vec<Vec<f32>>Input audio lanes, one per channel.
expected: Vec<Vec<f32>>Expected output audio lanes, one per channel.
Implementations§
Trait Implementations§
Source§impl Clone for GoldenFixture
impl Clone for GoldenFixture
Source§fn clone(&self) -> GoldenFixture
fn clone(&self) -> GoldenFixture
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GoldenFixture
impl Debug for GoldenFixture
Source§impl PartialEq for GoldenFixture
impl PartialEq for GoldenFixture
impl StructuralPartialEq for GoldenFixture
Auto Trait Implementations§
impl Freeze for GoldenFixture
impl RefUnwindSafe for GoldenFixture
impl Send for GoldenFixture
impl Sync for GoldenFixture
impl Unpin for GoldenFixture
impl UnsafeUnpin for GoldenFixture
impl UnwindSafe for GoldenFixture
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more