Add test
This commit is contained in:
parent
685331cdda
commit
b81606bf02
2 changed files with 12 additions and 0 deletions
BIN
tests/files/grayscale_alpha_8_should_be_grayscale_trns_1.png
Normal file
BIN
tests/files/grayscale_alpha_8_should_be_grayscale_trns_1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
|
|
@ -916,6 +916,18 @@ fn grayscale_alpha_8_should_be_grayscale_trns_8() {
|
|||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn grayscale_alpha_8_should_be_grayscale_trns_1() {
|
||||
test_it_converts(
|
||||
"tests/files/grayscale_alpha_8_should_be_grayscale_trns_1.png",
|
||||
true,
|
||||
GRAYSCALE_ALPHA,
|
||||
BitDepth::Eight,
|
||||
GRAYSCALE,
|
||||
BitDepth::One,
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn small_files() {
|
||||
test_it_converts(
|
||||
|
|
|
|||
Loading…
Reference in a new issue