mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Tests/JBIG2: Remove test_jbig2_size
It's redundant with test_jbig2_decode nowadays.
This commit is contained in:
committed by
Andreas Kling
parent
188775c4e3
commit
200e36aad3
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user