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

Function test_draw_tri_filled_no_sync

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

Source from the content-addressed store, hash-verified

1019
1020#[test]
1021fn test_draw_tri_filled_no_sync() {
1022 Tester::new(size(20, 30))
1023 .op(|l| {
1024 l.set_sync(false);
1025 l.set_draw_color((50, 51, 52));
1026 l.draw_tri_filled(PixelsXY::new(4, 5), PixelsXY::new(8, 5), PixelsXY::new(6, 9))
1027 .unwrap()
1028 })
1029 .expect_damage(xy(4, 5), xy(8, 9))
1030 .ignore_pixels()
1031 .check();
1032}
1033
1034#[test]
1035fn test_draw_tri_filled_clip() {

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