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§
sourcefn snapshot_with_broken_pixels_threshold(
&mut self,
name: &str,
num_pixels: u64,
broken_percent_threshold: f64,
)
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.