()
| 185 | |
| 186 | #[test] |
| 187 | fn test_force_present_canvas_damage() { |
| 188 | Tester::new(size(10, 12)) |
| 189 | .op(|l| l.set_sync(false)) |
| 190 | .op(|l| l.set_draw_color((120, 40, 180))) |
| 191 | .op(|l| l.fill(xy(2, 3), xy(2, 3)).unwrap()) |
| 192 | .op(|l| l.force_present_canvas().unwrap()) |
| 193 | .expect_pixel(xy(2, 3), (120, 40, 180)) |
| 194 | .expect_op("set_data: from=(2, 3), to=(2, 3), data=[120, 40, 180]") |
| 195 | .check(); |
| 196 | } |
| 197 | |
| 198 | #[test] |
| 199 | fn test_get_info() { |
nothing calls this directly
no test coverage detected