tests
This commit is contained in:
parent
3904ae05cf
commit
470273d387
BIN
out/dice_generic.png
Normal file
BIN
out/dice_generic.png
Normal file
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();
|
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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user