MCPcopy
hub / github.com/klauspost/compress / TestEncoder_EncoderTwain

Function TestEncoder_EncoderTwain

zstd/encoder_test.go:543–546  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

541}
542
543func TestEncoder_EncoderTwain(t *testing.T) {
544 testEncoderRoundtrip(t, "../testdata/Mark.Twain-Tom.Sawyer.txt", []byte{0x12, 0x1f, 0x12, 0x70, 0x79, 0x37, 0x1f, 0xc6})
545 testEncoderRoundtripWriter(t, "../testdata/Mark.Twain-Tom.Sawyer.txt", []byte{0x12, 0x1f, 0x12, 0x70, 0x79, 0x37, 0x1f, 0xc6})
546}
547
548func TestEncoder_EncoderPi(t *testing.T) {
549 testEncoderRoundtrip(t, "../testdata/pi.txt", []byte{0xe7, 0xe5, 0x25, 0x39, 0x92, 0xc7, 0x4a, 0xfb})

Callers

nothing calls this directly

Calls 2

testEncoderRoundtripFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…