mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 08:55:11 +01:00
test/data: rename some *.handsum files
This commit is contained in:
1 parent
a6c89da981
commit
50b62c7704
5 files changed
+9
-9
No files matched your search
@@ -225,13 +225,13 @@ const uint8_t g_src_ptr__mona_lisa_21_32_th[] = {
|
|||||||
};
|
};
|
||||||
const size_t g_src_len__mona_lisa_21_32_th = 24;
|
const size_t g_src_len__mona_lisa_21_32_th = 24;
|
||||||
|
|
||||||
const uint8_t g_src_ptr__mona_lisa_21_32_handsum[] = {
|
const uint8_t g_src_ptr__mona_lisa_21_32_hvxc_handsum[] = {
|
||||||
0xfe, 0xd7, 0x74, 0x17, 0x6f, 0xef, 0x00, 0x08, 0xa9, 0xfb, 0x6a, 0xf0,
|
0xfe, 0xd7, 0x74, 0x17, 0x6f, 0xef, 0x00, 0x08, 0xa9, 0xfb, 0x6a, 0xf0,
|
||||||
0x1d, 0xff, 0xf0, 0xa0, 0xcb, 0xe2, 0x04, 0x4f, 0xad, 0xfa, 0xfb, 0x0c,
|
0x1d, 0xff, 0xf0, 0xa0, 0xcb, 0xe2, 0x04, 0x4f, 0xad, 0xfa, 0xfb, 0x0c,
|
||||||
0x2e, 0x26, 0xf9, 0x8a, 0x6f, 0xac, 0x9f, 0xbf, 0xc8, 0x67, 0x90, 0xc9,
|
0x2e, 0x26, 0xf9, 0x8a, 0x6f, 0xac, 0x9f, 0xbf, 0xc8, 0x67, 0x90, 0xc9,
|
||||||
0x7b, 0x89, 0x77, 0x88, 0x96, 0x6a, 0x75, 0x75, 0x87, 0x87, 0x88, 0xa9,
|
0x7b, 0x89, 0x77, 0x88, 0x96, 0x6a, 0x75, 0x75, 0x87, 0x87, 0x88, 0xa9,
|
||||||
};
|
};
|
||||||
const size_t g_src_len__mona_lisa_21_32_handsum = 48;
|
const size_t g_src_len__mona_lisa_21_32_hvxc_handsum = 48;
|
||||||
|
|
||||||
const uint8_t g_src_ptr__mona_lisa_21_32_etc2_pkm[] = {
|
const uint8_t g_src_ptr__mona_lisa_21_32_etc2_pkm[] = {
|
||||||
0x50, 0x4b, 0x4d, 0x20, 0x32, 0x30, 0x00, 0x01, 0x00, 0x18, 0x00, 0x20,
|
0x50, 0x4b, 0x4d, 0x20, 0x32, 0x30, 0x00, 0x01, 0x00, 0x18, 0x00, 0x20,
|
||||||
@@ -1017,9 +1017,9 @@ main(int argc, char** argv) {
|
|||||||
g_src_len__mona_lisa_21_32_th,
|
g_src_len__mona_lisa_21_32_th,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"«demo»/mona-lisa.21x32.handsum",
|
"«demo»/mona-lisa.21x32.hvxc.handsum",
|
||||||
g_src_ptr__mona_lisa_21_32_handsum,
|
g_src_ptr__mona_lisa_21_32_hvxc_handsum,
|
||||||
g_src_len__mona_lisa_21_32_handsum,
|
g_src_len__mona_lisa_21_32_hvxc_handsum,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"«demo»/mona-lisa.21x32.etc2.pkm",
|
"«demo»/mona-lisa.21x32.etc2.pkm",
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ test_wuffs_handsum_decode_interface() {
|
|||||||
WUFFS_INITIALIZE__LEAVE_INTERNAL_BUFFERS_UNINITIALIZED));
|
WUFFS_INITIALIZE__LEAVE_INTERNAL_BUFFERS_UNINITIALIZED));
|
||||||
return do_test__wuffs_base__image_decoder(
|
return do_test__wuffs_base__image_decoder(
|
||||||
wuffs_handsum__decoder__upcast_as__wuffs_base__image_decoder(&dec),
|
wuffs_handsum__decoder__upcast_as__wuffs_base__image_decoder(&dec),
|
||||||
"test/data/bricks-color.handsum", 0, SIZE_MAX, 32, 24, 0xFF571218);
|
"test/data/bricks-color.hvxc.handsum", 0, SIZE_MAX, 32, 24, 0xFF571218);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* //
|
const char* //
|
||||||
@@ -119,7 +119,7 @@ test_wuffs_handsum_decode_frame_config() {
|
|||||||
wuffs_base__io_buffer src = ((wuffs_base__io_buffer){
|
wuffs_base__io_buffer src = ((wuffs_base__io_buffer){
|
||||||
.data = g_src_slice_u8,
|
.data = g_src_slice_u8,
|
||||||
});
|
});
|
||||||
CHECK_STRING(read_file(&src, "test/data/mona-lisa.21x32.handsum"));
|
CHECK_STRING(read_file(&src, "test/data/mona-lisa.21x32.hvxc.handsum"));
|
||||||
|
|
||||||
CHECK_STATUS("decode_frame_config #0",
|
CHECK_STATUS("decode_frame_config #0",
|
||||||
wuffs_handsum__decoder__decode_frame_config(&dec, &fc, &src));
|
wuffs_handsum__decoder__decode_frame_config(&dec, &fc, &src));
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
@@ -55,7 +55,7 @@ OK. 076cb375 test/data/bricks-color.bmp
|
|||||||
OK. bdbbfadb test/data/bricks-color.etc1.pkm
|
OK. bdbbfadb test/data/bricks-color.etc1.pkm
|
||||||
OK. 41e6110e test/data/bricks-color.etc1s.pkm
|
OK. 41e6110e test/data/bricks-color.etc1s.pkm
|
||||||
OK. 5670f263 test/data/bricks-color.etc2.pkm
|
OK. 5670f263 test/data/bricks-color.etc2.pkm
|
||||||
OK. 1fef6814 test/data/bricks-color.handsum
|
OK. 1fef6814 test/data/bricks-color.hvxc.handsum
|
||||||
OK. 72a1f9cc test/data/bricks-color.jpeg
|
OK. 72a1f9cc test/data/bricks-color.jpeg
|
||||||
OK. 076cb375 test/data/bricks-color.lossless.webp
|
OK. 076cb375 test/data/bricks-color.lossless.webp
|
||||||
OK. 9d451b1c test/data/bricks-color.lossy.webp
|
OK. 9d451b1c test/data/bricks-color.lossy.webp
|
||||||
@@ -130,7 +130,7 @@ OK. ed4b78fc test/data/hippopotamus.regular.gif
|
|||||||
OK. dcbb225a test/data/hippopotamus.regular.png
|
OK. dcbb225a test/data/hippopotamus.regular.png
|
||||||
BAD e4c5926b test/data/hippopotamus.regular.truncated.png
|
BAD e4c5926b test/data/hippopotamus.regular.truncated.png
|
||||||
OK. f6bb81e2 test/data/mona-lisa.21x32.etc2.pkm
|
OK. f6bb81e2 test/data/mona-lisa.21x32.etc2.pkm
|
||||||
OK. b507f884 test/data/mona-lisa.21x32.handsum
|
OK. b507f884 test/data/mona-lisa.21x32.hvxc.handsum
|
||||||
OK. 012ce4cf test/data/mona-lisa.21x32.png
|
OK. 012ce4cf test/data/mona-lisa.21x32.png
|
||||||
OK. 0a22e689 test/data/mona-lisa.21x32.q50.jpeg
|
OK. 0a22e689 test/data/mona-lisa.21x32.q50.jpeg
|
||||||
OK. 059ecb80 test/data/mona-lisa.21x32.q90.jpeg
|
OK. 059ecb80 test/data/mona-lisa.21x32.q90.jpeg
|
||||||
|
|||||||
Reference in new issue
Block a user