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

Function TestEncoder_EncoderSimple

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

Source from the content-addressed store, hash-verified

556}
557
558func TestEncoder_EncoderSimple(t *testing.T) {
559 testEncoderRoundtrip(t, "testdata/z000028", []byte{0x8b, 0x2, 0x37, 0x70, 0x92, 0xb, 0x98, 0x95})
560 testEncoderRoundtripWriter(t, "testdata/z000028", []byte{0x8b, 0x2, 0x37, 0x70, 0x92, 0xb, 0x98, 0x95})
561}
562
563func TestEncoder_EncoderHTML(t *testing.T) {
564 testEncoderRoundtrip(t, "../testdata/html.txt", []byte{0x35, 0xa9, 0x5c, 0x37, 0x20, 0x9e, 0xc3, 0x37})

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…