pub trait HarnessExt {
    // Required method
    fn snapshot_with_broken_pixels_threshold(
        &mut self,
        name: &str,
        num_pixels: u64,
        broken_percent_threshold: f64,
    );
}

Required Methods§

source

fn snapshot_with_broken_pixels_threshold( &mut self, name: &str, num_pixels: u64, broken_percent_threshold: f64, )

Fails the test iff more than broken_percent_threshold% pixels are broken.

Implementors§