go/src/internal/zstd/zstd_test.go

var tests

func TestSamples(t *testing.T) {}

func TestReset(t *testing.T) {}

var bigDataOnce

var bigDataBytes

var bigDataErr

// bigData returns the contents of our large test file repeated multiple times.
func bigData(t testing.TB) []byte {}

func findZstd(t testing.TB) string {}

var zstdBigOnce

var zstdBigBytes

var zstdBigErr

// zstdBigData returns the compressed contents of our large test file.
// This will only run on Unix systems with zstd installed.
// That's OK as the package is GOOS-independent.
func zstdBigData(t testing.TB) []byte {}

// Test decompressing a large file. We don't have a compressor,
// so this test only runs on systems with zstd installed.
func TestLarge(t *testing.T) {}

// showDiffs reports the first few differences in two []byte.
func showDiffs(t *testing.T, got, want []byte) {}

func TestAlloc(t *testing.T) {}

func TestFileSamples(t *testing.T) {}

func TestReaderBad(t *testing.T) {}

func BenchmarkLarge(b *testing.B) {}