Skip to content

Latest commit

 

History

History
22 lines (21 loc) · 518 Bytes

File metadata and controls

22 lines (21 loc) · 518 Bytes

File Comp Decomp Testing

1. Build the project:

cargo build

2. Create a test input file:

echo "This is a test file for compression and decompression." > test_input.txt

3. Run the compression:

cargo run -- --compress --input test_input.txt --output test_output.gz

4. Run the decompression:

cargo run -- --decompress --input test_output.gz --output test_decompressed.txt

5. Verify the contents:

diff test_input.txt test_decompressed.txt