added round trip test

fixed ci
added colortype
This commit is contained in:
Kurt Kühnert committed 2023-01-05 09:34:54 +01:00
1 parent a08604b015
commit da07c0f4f5
4 files changed
+15 -3

No files matched your search

+5
View File
@@ -264,6 +264,11 @@ fn test_gray_f64_roundtrip() {
test_f64_roundtrip::<colortype::Gray64Float>("gradient-1c-64b-float.tiff", ColorType::Gray(64));
}
#[test]
fn test_ycbcr_u8_roundtrip() {
test_u8_roundtrip::<colortype::YCbCr8>("tiled-jpeg-ycbcr.tif", ColorType::YCbCr(8));
}
trait AssertDecode {
fn assert_tag_u32(&mut self, tag: u16) -> u32;
fn assert_tag_u32_vec(&mut self, tag: u16) -> Vec<u32>;
Binary file not shown.