- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestWriterDict (0.11 sec)
-
src/compress/zlib/writer_test.go
if level >= 1 && testing.Short() && testenv.Builder() == "" { break } } if i == 0 && testing.Short() && testenv.Builder() == "" { break } } } func TestWriterDict(t *testing.T) { const dictionary = "0123456789." for i, fn := range filenames { testFileLevelDict(t, fn, DefaultCompression, dictionary) testFileLevelDict(t, fn, NoCompression, dictionary)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 19:12:23 UTC 2020 - 5.7K bytes - Viewed (0) -
src/compress/flate/deflate_test.go
data, err := io.ReadAll(r) if err != nil { t.Fatal(err) } if string(data) != "hello again world" { t.Fatalf("read returned %q want %q", string(data), text) } } func TestWriterDict(t *testing.T) { const ( dict = "hello world" text = "hello again world" ) var b bytes.Buffer w, err := NewWriter(&b, 5) if err != nil { t.Fatalf("NewWriter: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 25.6K bytes - Viewed (0)