From f4378eeb805155088e102885ea6b9ecd4cfa1e52 Mon Sep 17 00:00:00 2001 From: Alden Timme Date: Tue, 22 Jul 2025 08:48:57 -0700 Subject: [PATCH] Also split test_planar_rgb_u8 test --- tests/decode_images.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/decode_images.rs b/tests/decode_images.rs index 019c55a..967a28a 100644 --- a/tests/decode_images.rs +++ b/tests/decode_images.rs @@ -341,6 +341,11 @@ fn test_tiled_incremental() { #[test] fn test_planar_rgb_u8() { + test_image_sum_u8("planar-rgb-u8.tif", ColorType::RGB(8), 15417630); +} + +#[test] +fn test_read_planar_bands() { // gdal_translate tiled-rgb-u8.tif planar-rgb-u8.tif -co INTERLEAVE=BAND -co COMPRESS=LZW -co PROFILE=BASELINE let file = "planar-rgb-u8.tif"; let expected_type = ColorType::RGB(8); @@ -377,8 +382,6 @@ fn test_planar_rgb_u8() { } _ => panic!("Wrong bit depth"), } - - test_image_sum_u8(file, ColorType::RGB(8), 15417630); } #[test]