()
| 842 | |
| 843 | #[test] |
| 844 | fn test_draw_pixel_out_of_bounds() { |
| 845 | Tester::new(size(20, 30)) |
| 846 | .op(|l| l.set_draw_color((50, 51, 52))) |
| 847 | .op(|l| l.draw_pixel(PixelsXY::new(-5, 10)).unwrap()) |
| 848 | .check(); |
| 849 | |
| 850 | Tester::new(size(20, 30)) |
| 851 | .op(|l| l.set_draw_color((50, 51, 52))) |
| 852 | .op(|l| l.draw_pixel(PixelsXY::new(5, -10)).unwrap()) |
| 853 | .check(); |
| 854 | |
| 855 | Tester::new(size(20, 30)) |
| 856 | .op(|l| l.set_draw_color((50, 51, 52))) |
| 857 | .op(|l| l.draw_pixel(PixelsXY::new(20, 30)).unwrap()) |
| 858 | .check(); |
| 859 | } |
| 860 | |
| 861 | #[test] |
| 862 | fn test_draw_rect_sync() { |
nothing calls this directly
no test coverage detected