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

Function test_damage_extend_up_left

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

Source from the content-addressed store, hash-verified

104
105#[test]
106fn test_damage_extend_up_left() {
107 Tester::new(size(10, 12))
108 .op(|l| l.set_sync(false))
109 .op(|l| l.set_draw_color((255, 255, 255)))
110 .op(|l| l.fill(xy(4, 2), xy(6, 7)).unwrap())
111 .op(|l| l.fill(xy(2, 1), xy(2, 1)).unwrap())
112 .expect_damage(xy(2, 1), xy(6, 7))
113 .ignore_pixels()
114 .check();
115}
116
117#[test]
118fn test_fill_one_pixel_sync() {

Callers

nothing calls this directly

Calls 9

ignore_pixelsMethod · 0.80
expect_damageMethod · 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