Tests/JBIG2: Remove test_jbig2_size

It's redundant with test_jbig2_decode nowadays.
This commit is contained in:
Nico Weber 2024-04-04 13:07:02 -07:00 committed by Andreas Kling
parent 188775c4e3
commit 200e36aad3
Notes: sideshowbarker 2024-07-16 22:17:03 +09:00

View file

@ -318,14 +318,6 @@ TEST_CASE(test_ilbm_malformed_frame)
}
}
TEST_CASE(test_jbig2_size)
{
auto file = TRY_OR_FAIL(Core::MappedFile::map(TEST_INPUT("jbig2/bitmap.jbig2"sv)));
EXPECT(Gfx::JBIG2ImageDecoderPlugin::sniff(file->bytes()));
auto plugin_decoder = TRY_OR_FAIL(Gfx::JBIG2ImageDecoderPlugin::create(file->bytes()));
EXPECT_EQ(plugin_decoder->size(), Gfx::IntSize(399, 400));
}
TEST_CASE(test_jbig2_black_47x23)
{
auto file = TRY_OR_FAIL(Core::MappedFile::map(TEST_INPUT("jbig2/black_47x23.jbig2"sv)));