github.com/ice-blockchain/go/src@v0.0.0-20240403114104-1564d284e521/internal/zstd/testdata/README (about)

     1  This directory holds files for testing zstd.NewReader.
     2  
     3  Each one is a Zstandard compressed file named as hash.arbitrary-name.zst,
     4  where hash is the first eight hexadecimal digits of the SHA256 hash
     5  of the expected uncompressed content:
     6  
     7  	zstd -d < 1890a371.gettysburg.txt-100x.zst | sha256sum | head -c 8
     8  	1890a371
     9  
    10  The test uses hash value to verify decompression result.