(t *testing.T)
| 39 | } |
| 40 | |
| 41 | func TestColdCacheGet_BadCell(t *testing.T) { |
| 42 | bucket := newBucket(32, 64) |
| 43 | // trying to retrieve the buffer in an 'out-of-bound' cell should panic |
| 44 | assertPanics(t, func() { |
| 45 | bucket.get(64) |
| 46 | }) |
| 47 | } |
| 48 | |
| 49 | func TestBufferCachePutDestination(t *testing.T) { |
| 50 | tests := []struct { |
nothing calls this directly
no test coverage detected