(t *testing.T)
| 9 | ) |
| 10 | |
| 11 | func TestNonOverlappingIter(t *testing.T) { |
| 12 | t.Parallel() |
| 13 | forEncodings(t, func(t *testing.T, enc encoding.Encoding) { |
| 14 | cs := []GenericChunk(nil) |
| 15 | for i := range int64(100) { |
| 16 | cs = append(cs, mkGenericChunk(t, model.TimeFromUnix(i*10), 10, enc)) |
| 17 | } |
| 18 | testIter(t, 10*100, newIteratorAdapter(newNonOverlappingIterator(cs)), enc) |
| 19 | testSeek(t, 10*100, newIteratorAdapter(newNonOverlappingIterator(cs)), enc) |
| 20 | }) |
| 21 | } |
| 22 | |
| 23 | func TestNonOverlappingIterSparse(t *testing.T) { |
| 24 | t.Parallel() |
nothing calls this directly
no test coverage detected