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

Function test_draw_pixel_no_sync

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

Source from the content-addressed store, hash-verified

812
813#[test]
814fn test_draw_pixel_no_sync() {
815 Tester::new(size(20, 30))
816 .op(|l| l.set_draw_color((50, 51, 52)))
817 .op(|l| {
818 l.set_sync(false);
819 l.draw_pixel(PixelsXY::new(4, 5)).unwrap();
820 })
821 .expect_damage(xy(4, 5), xy(4, 5))
822 .expect_pixel(xy(4, 5), (50, 51, 52))
823 .check();
824}
825
826#[test]
827fn test_draw_pixel_limits() {

Callers

nothing calls this directly

Calls 9

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

Tested by

no test coverage detected