Lines Matching refs:Level
18 doBench(b, func(b *testing.B, buf0 []byte, level, n int) {
30 w, err := NewWriter(ioutil.Discard, level)
77 t.Fatalf("NewWriter: level %d: %v", l, err)
81 t.Fatalf("Level %d: Expected an error, writer was %#v", l, ew)
85 t.Fatal("Level", l, "Expected 0 length write, got", n)
88 t.Fatal("Level", l, "Expected an error")
92 t.Fatal("Level", l, "Expected an error on flush")
96 t.Fatal("Level", l, "Expected an error on close")
102 t.Fatal("Level", l, "Got unexpected error after reset:", err)
105 t.Fatal("Level", l, "Got 0 length write, expected > 0")
173 t.Errorf("level %d did not produce deterministic result, result mismatch, len(a) = %d, len(b) = %d", i, len(b1b), len(b2b))