mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Tests/JBIG2: Remove test_jbig2_size
It's redundant with test_jbig2_decode nowadays.
This commit is contained in:
parent
188775c4e3
commit
200e36aad3
Notes:
sideshowbarker
2024-07-16 22:17:03 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/200e36aad3 Pull-request: https://github.com/SerenityOS/serenity/pull/23842
1 changed files with 0 additions and 8 deletions
|
@ -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)));
|
||||
|
|
Loading…
Reference in a new issue