Trait re_viewer_context::test_context::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§