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

Function test_draw_tri_filled_clip

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

Source from the content-addressed store, hash-verified

1033
1034#[test]
1035fn test_draw_tri_filled_clip() {
1036 Tester::new(size(20, 30))
1037 .op(|l| {
1038 l.set_sync(false);
1039 l.set_draw_color((50, 51, 52));
1040 l.draw_tri_filled(PixelsXY::new(-4, 5), PixelsXY::new(8, 5), PixelsXY::new(6, 9))
1041 .unwrap()
1042 })
1043 .expect_damage(xy(0, 5), xy(8, 9))
1044 .ignore_pixels()
1045 .check();
1046}

Callers

nothing calls this directly

Calls 9

ignore_pixelsMethod · 0.80
expect_damageMethod · 0.80
opMethod · 0.80
sizeFunction · 0.70
xyFunction · 0.70
checkMethod · 0.45
set_syncMethod · 0.45
set_draw_colorMethod · 0.45
draw_tri_filledMethod · 0.45

Tested by

no test coverage detected