(t *testing.T)
| 193 | } |
| 194 | |
| 195 | func TestLargeByteWrites(t *testing.T) { |
| 196 | var buf Buffer |
| 197 | limit := 30 |
| 198 | if testing.Short() { |
| 199 | limit = 9 |
| 200 | } |
| 201 | for i := 3; i < limit; i += 3 { |
| 202 | s := fillBytes(t, "TestLargeWrites (1)", &buf, "", 5, testBytes) |
| 203 | empty(t, "TestLargeByteWrites (2)", &buf, s, make([]byte, len(testString)/i)) |
| 204 | } |
| 205 | check(t, "TestLargeByteWrites (3)", &buf, "") |
| 206 | } |
| 207 | |
| 208 | func TestLargeStringReads(t *testing.T) { |
| 209 | var buf Buffer |