()
| 627 | |
| 628 | #[test] |
| 629 | fn test_bucket_fill_out_of_bounds_is_noop() { |
| 630 | let mut rasops = RecordingRasops::default(); |
| 631 | rasops.set_draw_color(ansi_color_to_rgb(7)); |
| 632 | bucket_fill(&mut rasops, PixelsXY::new(10, 20), 7).unwrap(); |
| 633 | assert!(rasops.ops.is_empty()); |
| 634 | } |
| 635 | |
| 636 | #[test] |
| 637 | fn test_bucket_fill_same_color_is_noop() { |
nothing calls this directly
no test coverage detected