MCPcopy Index your code
hub / github.com/endbasic/endbasic / ignore_pixels

Method ignore_pixels

std/src/gfx/lcd/buffered/testutils.rs:152–155  ·  view source on GitHub ↗

Configures the test to ignore the content of all pixels. This is for simplicity of tests that only one to validate other aspects of the LCD handling.

(mut self)

Source from the content-addressed store, hash-verified

150 /// Configures the test to ignore the content of all pixels. This is for simplicity of
151 /// tests that only one to validate other aspects of the LCD handling.
152 pub(super) fn ignore_pixels(mut self) -> Self {
153 self.exp_fb = self.buffered.fb.clone();
154 self
155 }
156
157 /// Validates recorded expectations about the changes made by all executed `op`s.
158 pub(super) fn check(self) {

Callers 8

test_clearFunction · 0.80
test_read_pixels_syncFunction · 0.80
test_read_pixels_no_syncFunction · 0.80
test_draw_tri_no_syncFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected