Lines Matching refs:ranges2
244 BucketRanges ranges2(16); in TEST_P() local
245 Histogram::InitializeBucketRanges(1, 32, &ranges2); in TEST_P()
247 EXPECT_EQ(0, ranges2.range(0)); in TEST_P()
248 EXPECT_EQ(1, ranges2.range(1)); in TEST_P()
249 EXPECT_EQ(2, ranges2.range(2)); in TEST_P()
250 EXPECT_EQ(3, ranges2.range(3)); in TEST_P()
251 EXPECT_EQ(4, ranges2.range(4)); in TEST_P()
252 EXPECT_EQ(5, ranges2.range(5)); in TEST_P()
253 EXPECT_EQ(6, ranges2.range(6)); in TEST_P()
254 EXPECT_EQ(7, ranges2.range(7)); in TEST_P()
255 EXPECT_EQ(9, ranges2.range(8)); in TEST_P()
256 EXPECT_EQ(11, ranges2.range(9)); in TEST_P()
257 EXPECT_EQ(14, ranges2.range(10)); in TEST_P()
258 EXPECT_EQ(17, ranges2.range(11)); in TEST_P()
259 EXPECT_EQ(21, ranges2.range(12)); in TEST_P()
260 EXPECT_EQ(26, ranges2.range(13)); in TEST_P()
261 EXPECT_EQ(32, ranges2.range(14)); in TEST_P()
262 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges2.range(15)); in TEST_P()
267 EXPECT_TRUE(ranges2.Equals(histogram2->bucket_ranges())); in TEST_P()
284 BucketRanges ranges2(6); in TEST_P() local
285 LinearHistogram::InitializeBucketRanges(1, 6, &ranges2); in TEST_P()
286 EXPECT_EQ(0, ranges2.range(0)); in TEST_P()
287 EXPECT_EQ(1, ranges2.range(1)); in TEST_P()
288 EXPECT_EQ(3, ranges2.range(2)); in TEST_P()
289 EXPECT_EQ(4, ranges2.range(3)); in TEST_P()
290 EXPECT_EQ(6, ranges2.range(4)); in TEST_P()
291 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges2.range(5)); in TEST_P()
295 EXPECT_TRUE(ranges2.Equals(histogram2->bucket_ranges())); in TEST_P()