Replace issue-426 test
This commit is contained in:
parent
d6cc3994e2
commit
27fde495c2
5 changed files with 12 additions and 24 deletions
BIN
tests/files/grayscale_trns_8_should_be_grayscale_1.png
Normal file
BIN
tests/files/grayscale_trns_8_should_be_grayscale_1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 910 B |
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB |
|
|
@ -938,6 +938,18 @@ fn grayscale_alpha_8_should_be_grayscale_trns_1() {
|
|||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn grayscale_trns_8_should_be_grayscale_1() {
|
||||
test_it_converts(
|
||||
"tests/files/grayscale_trns_8_should_be_grayscale_1.png",
|
||||
true,
|
||||
GRAYSCALE,
|
||||
BitDepth::Eight,
|
||||
GRAYSCALE,
|
||||
BitDepth::One,
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn small_files() {
|
||||
test_it_converts(
|
||||
|
|
|
|||
|
|
@ -226,30 +226,6 @@ fn issue_182() {
|
|||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn issue_426_01() {
|
||||
test_it_converts(
|
||||
"tests/files/issue-426-01.png",
|
||||
None,
|
||||
GRAYSCALE,
|
||||
BitDepth::Eight,
|
||||
GRAYSCALE,
|
||||
BitDepth::One,
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn issue_426_02() {
|
||||
test_it_converts(
|
||||
"tests/files/issue-426-02.png",
|
||||
None,
|
||||
GRAYSCALE,
|
||||
BitDepth::Eight,
|
||||
GRAYSCALE,
|
||||
BitDepth::One,
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn issue_553() {
|
||||
let png = test_it_converts(
|
||||
|
|
|
|||
Loading…
Reference in a new issue