Add grayscale trns tests
This commit is contained in:
parent
19be14021b
commit
8aa8c6158d
3 changed files with 24 additions and 0 deletions
BIN
tests/files/issue-426-01.png
Normal file
BIN
tests/files/issue-426-01.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
BIN
tests/files/issue-426-02.png
Normal file
BIN
tests/files/issue-426-02.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
|
|
@ -642,3 +642,27 @@ fn issue_195() {
|
|||
BitDepth::Eight,
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn issue_426_01() {
|
||||
test_it_converts(
|
||||
"tests/files/issue-426-01.png",
|
||||
None,
|
||||
ColorType::Grayscale,
|
||||
BitDepth::Eight,
|
||||
ColorType::Grayscale,
|
||||
BitDepth::One,
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn issue_426_02() {
|
||||
test_it_converts(
|
||||
"tests/files/issue-426-02.png",
|
||||
None,
|
||||
ColorType::Grayscale,
|
||||
BitDepth::Eight,
|
||||
ColorType::Grayscale,
|
||||
BitDepth::One,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue