From 09ea196f1ee420d2dcb96d5c2d0699ccb39a0a5d Mon Sep 17 00:00:00 2001 From: Sonja Happ Date: Mon, 16 Sep 2019 15:55:01 +0200 Subject: [PATCH] add non-zero bucket and warmup parameters for histogram test --- common/tests/unit/hist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/tests/unit/hist.cpp b/common/tests/unit/hist.cpp index 06c026e50..9b80b75df 100644 --- a/common/tests/unit/hist.cpp +++ b/common/tests/unit/hist.cpp @@ -35,7 +35,7 @@ TestSuite(hist, .description = "Histogram"); Test(hist, simple) { - Hist h; + Hist h(10,2); for (auto td : test_data) h.put(td);