()
| 812 | |
| 813 | #[test] |
| 814 | fn 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] |
| 827 | fn test_draw_pixel_limits() { |
nothing calls this directly
no test coverage detected