github.com/go-asm/go@v1.21.1-0.20240213172139-40c5ead50c48/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.