Lines Matching refs:ranges2
106 BucketRanges ranges2(16); in TEST_F() local
107 Histogram::InitializeBucketRanges(1, 32, &ranges2); in TEST_F()
109 EXPECT_EQ(0, ranges2.range(0)); in TEST_F()
110 EXPECT_EQ(1, ranges2.range(1)); in TEST_F()
111 EXPECT_EQ(2, ranges2.range(2)); in TEST_F()
112 EXPECT_EQ(3, ranges2.range(3)); in TEST_F()
113 EXPECT_EQ(4, ranges2.range(4)); in TEST_F()
114 EXPECT_EQ(5, ranges2.range(5)); in TEST_F()
115 EXPECT_EQ(6, ranges2.range(6)); in TEST_F()
116 EXPECT_EQ(7, ranges2.range(7)); in TEST_F()
117 EXPECT_EQ(9, ranges2.range(8)); in TEST_F()
118 EXPECT_EQ(11, ranges2.range(9)); in TEST_F()
119 EXPECT_EQ(14, ranges2.range(10)); in TEST_F()
120 EXPECT_EQ(17, ranges2.range(11)); in TEST_F()
121 EXPECT_EQ(21, ranges2.range(12)); in TEST_F()
122 EXPECT_EQ(26, ranges2.range(13)); in TEST_F()
123 EXPECT_EQ(32, ranges2.range(14)); in TEST_F()
124 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges2.range(15)); in TEST_F()
129 EXPECT_TRUE(ranges2.Equals(histogram2->bucket_ranges())); in TEST_F()
146 BucketRanges ranges2(6); in TEST_F() local
147 LinearHistogram::InitializeBucketRanges(1, 6, &ranges2); in TEST_F()
148 EXPECT_EQ(0, ranges2.range(0)); in TEST_F()
149 EXPECT_EQ(1, ranges2.range(1)); in TEST_F()
150 EXPECT_EQ(3, ranges2.range(2)); in TEST_F()
151 EXPECT_EQ(4, ranges2.range(3)); in TEST_F()
152 EXPECT_EQ(6, ranges2.range(4)); in TEST_F()
153 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges2.range(5)); in TEST_F()
157 EXPECT_TRUE(ranges2.Equals(histogram2->bucket_ranges())); in TEST_F()