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

Function TestEncoder_EncoderPi

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

Source from the content-addressed store, hash-verified

546}
547
548func TestEncoder_EncoderPi(t *testing.T) {
549 testEncoderRoundtrip(t, "../testdata/pi.txt", []byte{0xe7, 0xe5, 0x25, 0x39, 0x92, 0xc7, 0x4a, 0xfb})
550 testEncoderRoundtripWriter(t, "../testdata/pi.txt", []byte{0xe7, 0xe5, 0x25, 0x39, 0x92, 0xc7, 0x4a, 0xfb})
551}
552
553func TestEncoder_EncoderSilesia(t *testing.T) {
554 testEncoderRoundtrip(t, "testdata/silesia.tar", []byte{0xa5, 0x5b, 0x5e, 0xe, 0x5e, 0xea, 0x51, 0x6b})

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…