(t *testing.T, f func(t *testing.T, enc promchunk.Encoding))
| 34 | } |
| 35 | |
| 36 | func forEncodings(t *testing.T, f func(t *testing.T, enc promchunk.Encoding)) { |
| 37 | for _, enc := range []promchunk.Encoding{ |
| 38 | //promchunk.PrometheusXorChunk, |
| 39 | promchunk.PrometheusHistogramChunk, |
| 40 | //promchunk.PrometheusFloatHistogramChunk, |
| 41 | } { |
| 42 | t.Run(enc.String(), func(t *testing.T) { |
| 43 | t.Parallel() |
| 44 | f(t, enc) |
| 45 | }) |
| 46 | } |
| 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) |
no test coverage detected