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

Function TestWriteBlock

flate/huffman_bit_writer_test.go:167–171  ·  view source on GitHub ↗

TestWriteBlock tests if the writeBlock encoding has changed. To update the reference files use the "-update" flag on the test.

(t *testing.T)

Source from the content-addressed store, hash-verified

165// TestWriteBlock tests if the writeBlock encoding has changed.
166// To update the reference files use the "-update" flag on the test.
167func TestWriteBlock(t *testing.T) {
168 for _, test := range writeBlockTests {
169 testBlock(t, test, "wb")
170 }
171}
172
173// TestWriteBlockDynamic tests if the writeBlockDynamic encoding has changed.
174// To update the reference files use the "-update" flag on the test.

Callers

nothing calls this directly

Calls 1

testBlockFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…