(t require.TestingT, from model.Time, points int, enc promchunk.Encoding)
| 47 | } |
| 48 | |
| 49 | func mkGenericChunk(t require.TestingT, from model.Time, points int, enc promchunk.Encoding) GenericChunk { |
| 50 | ck := util.GenerateChunk(t, step, from, points, enc) |
| 51 | return NewGenericChunk(int64(ck.From), int64(ck.Through), ck.NewIterator) |
| 52 | } |
| 53 | |
| 54 | func testIter(t require.TestingT, points int, iter chunkenc.Iterator, enc promchunk.Encoding) { |
| 55 | histograms := histogram_util.GenerateTestHistograms(0, 1000, points) |
no test coverage detected