Added 'LZ4 Compress' and 'LZ4 Decompress' operations. Closes #1116

This commit is contained in:
n1474335 2022-11-11 16:27:14 +00:00
parent ed8bd34915
commit 31a7f83b82
6 changed files with 131 additions and 1 deletions

View file

@ -75,4 +75,34 @@ TestRegister.addTests([
}
],
},
{
name: "LZ4 Compress",
input: "The cat sat on the mat.",
expectedOutput: "04224d184070df170000805468652063617420736174206f6e20746865206d61742e00000000",
recipeConfig: [
{
"op": "LZ4 Compress",
"args": []
},
{
"op": "To Hex",
"args": ["None", 0]
}
],
},
{
name: "LZ4 Decompress",
input: "04224d184070df170000805468652063617420736174206f6e20746865206d61742e00000000",
expectedOutput: "The cat sat on the mat.",
recipeConfig: [
{
"op": "From Hex",
"args": ["None"]
},
{
"op": "LZ4 Decompress",
"args": []
}
],
},
]);