()
| 993 | |
| 994 | #[test] |
| 995 | fn test_draw_rect_filled_clip() { |
| 996 | Tester::new(size(20, 30)) |
| 997 | .op(|l| { |
| 998 | l.set_draw_color((50, 51, 52)); |
| 999 | l.draw_rect_filled(PixelsXY::new(-2, 28), SizeInPixels::new(3, 10)).unwrap() |
| 1000 | }) |
| 1001 | .expect_pixel(xy(0, 28), (50, 51, 52)) |
| 1002 | .expect_pixel(xy(0, 29), (50, 51, 52)) |
| 1003 | .expect_op("set_data: from=(0, 28), to=(0, 29), data=[50, 51, 52, 50, 51, 52]") |
| 1004 | .check(); |
| 1005 | } |
| 1006 | |
| 1007 | #[test] |
| 1008 | fn test_draw_tri_no_sync() { |
nothing calls this directly
no test coverage detected