Removed ChunkInfo and added additional functions on decoder

This commit is contained in:
Alan Race committed 2022-07-18 17:15:44 +02:00
1 parent 5cadbffebf
commit 802949f6e1
7 files changed
+69 -108

No files matched your search

+1 -1
View File
@@ -513,7 +513,7 @@ fn test_rows_per_strip() {
for i in 0..50 {
let img2 = [i; 2 * 100];
match decoder.read_chunk(i as u32).unwrap() {
(DecodingResult::U8(data), _) => assert_eq!(&img2[..], &data[..]),
DecodingResult::U8(data) => assert_eq!(&img2[..], &data[..]),
other => panic!("Incorrect strip type {:?}", other),
}
}