tests
This commit is contained in:
1 parent
3904ae05cf
commit
470273d387
2 files changed
+8
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 250 KiB |
@@ -199,4 +199,12 @@ mod test {
|
||||
|
||||
rgb.save_with_format("out/edgecase.jpg", imageproc::image::ImageFormat::Jpeg).unwrap();
|
||||
}
|
||||
|
||||
|
||||
#[test]
|
||||
fn dice_generic() {
|
||||
let file = std::fs::read("in/dice.qoi").unwrap();
|
||||
let rgba: RgbaImage = decode(&file).unwrap();
|
||||
rgba.save("out/dice_generic.png").unwrap();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user