mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
test/data: add romeo.txt.delta1.xz
It was generated by: xz -k --delta=dist=1 --lzma2 --stdout romeo.txt > romeo.txt.delta1.xz
This commit is contained in:
1 parent
76cb4bd757
commit
ab06be047b
3 files changed
+17
-1
No files matched your search
+16
-1
@@ -74,6 +74,11 @@ golden_test g_xz_enwik5_gt = {
|
||||
.src_filename = "test/data/enwik5.xz",
|
||||
};
|
||||
|
||||
golden_test g_xz_romeo_delta1_gt = {
|
||||
.want_filename = "test/data/romeo.txt",
|
||||
.src_filename = "test/data/romeo.txt.delta1.xz",
|
||||
};
|
||||
|
||||
golden_test g_xz_romeo_gt = {
|
||||
.want_filename = "test/data/romeo.txt",
|
||||
.src_filename = "test/data/romeo.txt.xz",
|
||||
@@ -91,7 +96,7 @@ test_wuffs_xz_decode_interface() {
|
||||
WUFFS_INITIALIZE__LEAVE_INTERNAL_BUFFERS_UNINITIALIZED));
|
||||
return do_test__wuffs_base__io_transformer(
|
||||
wuffs_xz__decoder__upcast_as__wuffs_base__io_transformer(&dec),
|
||||
"test/data/romeo.txt.xz", 0, SIZE_MAX, 942, 0x0A);
|
||||
"test/data/romeo.txt.delta1.xz", 0, SIZE_MAX, 942, 0x0A);
|
||||
}
|
||||
|
||||
const char* //
|
||||
@@ -132,6 +137,15 @@ test_wuffs_xz_decode_enwik5() {
|
||||
UINT64_MAX);
|
||||
}
|
||||
|
||||
/* TODO
|
||||
const char* //
|
||||
test_wuffs_xz_decode_one_byte_reads() {
|
||||
CHECK_FOCUS(__func__);
|
||||
return do_test_io_buffers(wuffs_xz_decode, &g_xz_romeo_delta1_gt, UINT64_MAX,
|
||||
1);
|
||||
}
|
||||
*/
|
||||
|
||||
const char* //
|
||||
test_wuffs_xz_decode_romeo() {
|
||||
CHECK_FOCUS(__func__);
|
||||
@@ -189,6 +203,7 @@ proc g_tests[] = {
|
||||
|
||||
test_wuffs_xz_decode_enwik5,
|
||||
test_wuffs_xz_decode_interface,
|
||||
// TODO test_wuffs_xz_decode_one_byte_reads,
|
||||
test_wuffs_xz_decode_romeo,
|
||||
|
||||
#ifdef WUFFS_MIMIC
|
||||
|
||||
Binary file not shown.
@@ -13,6 +13,7 @@ OK. 3db2cdc6 test/data/midsummer.txt.gz
|
||||
OK. 519e8b87 test/data/pi.txt.bz2
|
||||
OK. 519e8b87 test/data/pi.txt.gz
|
||||
OK. abe507ef test/data/romeo.txt.bz2
|
||||
OK. abe507ef test/data/romeo.txt.delta1.xz
|
||||
OK. abe507ef test/data/romeo.txt.gz
|
||||
OK. abe507ef test/data/romeo.txt.litonlylzma
|
||||
OK. abe507ef test/data/romeo.txt.lzma
|
||||
|
||||
Reference in new issue
Block a user