Lines Matching refs:custom_ranges
38 std::vector<int> custom_ranges; in TEST() local
39 custom_ranges.push_back(1); in TEST()
40 custom_ranges.push_back(5); in TEST()
41 custom_ranges.push_back(10); in TEST()
42 custom_ranges.push_back(20); in TEST()
43 custom_ranges.push_back(30); in TEST()
45 "TestCustomHistogram", custom_ranges, Histogram::kNoFlags)); in TEST()
48 "Test1CustomHistogram", custom_ranges, Histogram::kNoFlags)); in TEST()
110 std::vector<int> custom_ranges; in TEST() local
111 custom_ranges.push_back(1); in TEST()
112 custom_ranges.push_back(5); in TEST()
113 custom_ranges.push_back(10); in TEST()
114 custom_ranges.push_back(20); in TEST()
115 custom_ranges.push_back(30); in TEST()
117 "TestCustomHistogram", custom_ranges, Histogram::kNoFlags)); in TEST()
120 "TestCustomHistogram", custom_ranges, Histogram::kNoFlags)); in TEST()
210 std::vector<int> custom_ranges; in TEST() local
211 custom_ranges.push_back(0); in TEST()
212 custom_ranges.push_back(9); in TEST()
213 custom_ranges.push_back(10); in TEST()
214 custom_ranges.push_back(11); in TEST()
215 custom_ranges.push_back(300); in TEST()
217 "TestCustomRangeHistogram", custom_ranges, Histogram::kNoFlags)); in TEST()
219 EXPECT_EQ(custom_ranges[0], test_custom_histogram->ranges(0)); in TEST()
220 EXPECT_EQ(custom_ranges[1], test_custom_histogram->ranges(1)); in TEST()
221 EXPECT_EQ(custom_ranges[2], test_custom_histogram->ranges(2)); in TEST()
222 EXPECT_EQ(custom_ranges[3], test_custom_histogram->ranges(3)); in TEST()
223 EXPECT_EQ(custom_ranges[4], test_custom_histogram->ranges(4)); in TEST()
234 std::vector<int> custom_ranges; in TEST() local
236 custom_ranges.push_back(9); in TEST()
237 custom_ranges.push_back(10); in TEST()
238 custom_ranges.push_back(11); in TEST()
240 "TestCustomRangeHistogram", custom_ranges, Histogram::kNoFlags)); in TEST()
243 EXPECT_EQ(custom_ranges[0], test_custom_histogram->ranges(1)); in TEST()
244 EXPECT_EQ(custom_ranges[1], test_custom_histogram->ranges(2)); in TEST()
245 EXPECT_EQ(custom_ranges[2], test_custom_histogram->ranges(3)); in TEST()
251 custom_ranges.clear(); in TEST()
252 custom_ranges.push_back(kBig); in TEST()
253 custom_ranges.push_back(kMid); in TEST()
254 custom_ranges.push_back(kSmall); in TEST()
255 custom_ranges.push_back(kSmall); in TEST()
256 custom_ranges.push_back(kMid); in TEST()
257 custom_ranges.push_back(0); // Push an explicit zero. in TEST()
258 custom_ranges.push_back(kBig); in TEST()
261 "TestCustomUnsortedDupedHistogram", custom_ranges, Histogram::kNoFlags)); in TEST()