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

Function test_fill_one_pixel_no_sync

std/src/gfx/lcd/buffered/tests.rs:128–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126
127#[test]
128fn test_fill_one_pixel_no_sync() {
129 Tester::new(size(8, 4))
130 .op(|l| l.set_sync(false))
131 .op(|l| l.set_draw_color((100, 200, 50)))
132 .op(|l| l.fill(xy(3, 2), xy(3, 2)).unwrap())
133 .expect_pixel(xy(3, 2), (100, 200, 50))
134 .expect_damage(xy(3, 2), xy(3, 2))
135 .check();
136}
137
138#[test]
139fn test_fill_rect_sync() {

Callers

nothing calls this directly

Calls 9

expect_damageMethod · 0.80
expect_pixelMethod · 0.80
opMethod · 0.80
fillMethod · 0.80
sizeFunction · 0.70
xyFunction · 0.70
checkMethod · 0.45
set_syncMethod · 0.45
set_draw_colorMethod · 0.45

Tested by

no test coverage detected