go/src/compress/lzw/reader_test.go

type lzwTest

var lzwTests

func TestReader(t *testing.T) {}

func TestReaderReset(t *testing.T) {}

type devZero

func (devZero) Read(p []byte) (int, error) {}

func TestHiCodeDoesNotOverflow(t *testing.T) {}

// TestNoLongerSavingPriorExpansions tests the decoder state when codes other
// than clear codes continue to be seen after decoder.hi and decoder.width
// reach their maximum values (4095 and 12), i.e. after we no longer save prior
// expansions. In particular, it tests seeing the highest possible code, 4095.
func TestNoLongerSavingPriorExpansions(t *testing.T) {}

func BenchmarkDecoder(b *testing.B) {}