1
0
mirror of synced 2024-11-18 03:57:11 +01:00
CyberChef/test/tests/operations/Compress.js
2018-03-26 23:14:23 +01:00

27 lines
668 B
JavaScript
Executable File

/**
* Compress tests.
*
* @author n1474335 [n1474335@gmail.com]
* @copyright Crown Copyright 2017
* @license Apache-2.0
*/
import TestRegister from "../../TestRegister.js";
TestRegister.addTests([
{
name: "Bzip2 decompress",
input: "425a6839314159265359b218ed630000031380400104002a438c00200021a9ea601a10003202185d5ed68ca6442f1e177245385090b218ed63",
expectedOutput: "The cat sat on the mat.",
recipeConfig: [
{
"op": "From Hex",
"args": ["Space"]
},
{
"op": "Bzip2 Decompress",
"args": []
}
],
},
]);