(t *testing.T)
| 215 | } |
| 216 | |
| 217 | func TestLargeByteReads(t *testing.T) { |
| 218 | var buf Buffer |
| 219 | for i := 3; i < 30; i += 3 { |
| 220 | s := fillBytes(t, "TestLargeReads (1)", &buf, "", 5, testBytes[0:len(testBytes)/i]) |
| 221 | empty(t, "TestLargeReads (2)", &buf, s, make([]byte, len(testString))) |
| 222 | } |
| 223 | check(t, "TestLargeByteReads (3)", &buf, "") |
| 224 | } |
| 225 | |
| 226 | func TestMixedReadsAndWrites(t *testing.T) { |
| 227 | var buf Buffer |