Replace issue-426 test

This commit is contained in:
Andrew 2024-12-01 18:23:26 +13:00 committed by Alejandro González
parent d6cc3994e2
commit 27fde495c2
5 changed files with 12 additions and 24 deletions

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

View file

@ -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] #[test]
fn small_files() { fn small_files() {
test_it_converts( test_it_converts(

View file

@ -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] #[test]
fn issue_553() { fn issue_553() {
let png = test_it_converts( let png = test_it_converts(