(t *testing.T, buf Buffer)
| 488 | } |
| 489 | |
| 490 | func runPerfectSeries(t *testing.T, buf Buffer) { |
| 491 | checkEmpty(t, buf) |
| 492 | simple(t, buf) |
| 493 | |
| 494 | max := int64(1024) |
| 495 | isPerfectMatch(t, buf, 0) |
| 496 | for i := int64(1); i < max; i *= 2 { |
| 497 | isPerfectMatch(t, buf, i) |
| 498 | } |
| 499 | isPerfectMatch(t, buf, max) |
| 500 | } |
| 501 | |
| 502 | func simple(t *testing.T, buf Buffer) { |
| 503 | buf.Write([]byte("hello world")) |
no test coverage detected
searching dependent graphs…