()
| 802 | |
| 803 | #[test] |
| 804 | fn test_draw_pixel_sync() { |
| 805 | Tester::new(size(20, 30)) |
| 806 | .op(|l| l.set_draw_color((50, 51, 52))) |
| 807 | .op(|l| l.draw_pixel(PixelsXY::new(4, 5)).unwrap()) |
| 808 | .expect_pixel(xy(4, 5), (50, 51, 52)) |
| 809 | .expect_op("set_data: from=(4, 5), to=(4, 5), data=[50, 51, 52]") |
| 810 | .check(); |
| 811 | } |
| 812 | |
| 813 | #[test] |
| 814 | fn test_draw_pixel_no_sync() { |
nothing calls this directly
no test coverage detected