mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
test(selection): use the grayscale pixel format at each depth
This commit is contained in:
1 parent
e65f25fbeb
commit
243ecf4ce2
1 file changed
+1
-1
@@ -103,7 +103,7 @@ fn cropped_commands_match_full_canvas_reads_padding_and_writeback() {
|
||||
#[test]
|
||||
fn cropped_blurs_preserve_soft_masks_at_every_depth() {
|
||||
for depth in [SampleType::U8, SampleType::U16, SampleType::F32] {
|
||||
let format = PixelFormat { mode: ColorMode::Gray, sample: depth, alpha: false };
|
||||
let format = PixelFormat { sample: depth, ..PixelFormat::GRAY8 };
|
||||
for default in [0.0, 0.25] {
|
||||
let mut selection = Surface::with_default(format, &[default]);
|
||||
for y in 21..39 {
|
||||
|
||||
Reference in new issue
Block a user