Compress.js 668 B

1234567891011121314151617181920212223242526
  1. /**
  2. * Compress tests.
  3. *
  4. * @author n1474335 [n1474335@gmail.com]
  5. * @copyright Crown Copyright 2017
  6. * @license Apache-2.0
  7. */
  8. import TestRegister from "../../TestRegister.js";
  9. TestRegister.addTests([
  10. {
  11. name: "Bzip2 decompress",
  12. input: "425a6839314159265359b218ed630000031380400104002a438c00200021a9ea601a10003202185d5ed68ca6442f1e177245385090b218ed63",
  13. expectedOutput: "The cat sat on the mat.",
  14. recipeConfig: [
  15. {
  16. "op": "From Hex",
  17. "args": ["Space"]
  18. },
  19. {
  20. "op": "Bzip2 Decompress",
  21. "args": []
  22. }
  23. ],
  24. },
  25. ]);