re_viewer_context::test_context

Trait HarnessExt

Source
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.

Implementations on Foreign Types§

Source§

impl HarnessExt for Harness<'_>

Source§

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

Implementors§