mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 11:35:38 -04:00
[libromdata/tests] ImageDecoderTest: Add two Qoi test images.
- argb-reference.qoi: Qoi version of argb-reference.png - rgb-reference.qoi: Qoi version of rgb-reference.png
This commit is contained in:
parent
b0d5e05cce
commit
4badcf4bfb
@ -2049,6 +2049,16 @@ INSTANTIATE_TEST_SUITE_P(MAME, ImageDecoderTest,
|
||||
MAME_MIPMAP_TEST("texture_compression_etc2.ktx", 7, "COMPRESSED_RGB8_ETC2"))
|
||||
, ImageDecoderTest::test_case_suffix_generator);
|
||||
|
||||
// Qoi tests
|
||||
#define QOI_IMAGE_TEST(file, format) ImageDecoderTest_mode( \
|
||||
"Qoi/" file ".qoi.gz", \
|
||||
file ".png", (format))
|
||||
INSTANTIATE_TEST_SUITE_P(Qoi, ImageDecoderTest,
|
||||
::testing::Values(
|
||||
QOI_IMAGE_TEST("argb-reference", "ARGB32"),
|
||||
QOI_IMAGE_TEST("rgb-reference", "RGB888"))
|
||||
, ImageDecoderTest::test_case_suffix_generator);
|
||||
|
||||
// TODO: NPOT tests for compressed formats. (partial block sizes)
|
||||
|
||||
} }
|
||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user