Searched refs:samples_copy (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/metrics/ |
D | sample_vector_unittest.cc | 332 SampleVector samples_copy(&ranges); in TEST_F() local 333 samples_copy.Add(samples); in TEST_F() 334 EXPECT_FALSE(GetSamplesCounts(samples_copy)); in TEST_F() 335 EXPECT_EQ(3 * 600, samples_copy.sum()); in TEST_F() 336 EXPECT_EQ(600, samples_copy.TotalCount()); in TEST_F() 337 EXPECT_EQ(600, samples_copy.redundant_count()); in TEST_F() 365 samples_copy.Add(samples); in TEST_F() 366 EXPECT_TRUE(GetSamplesCounts(samples_copy)); in TEST_F() 367 EXPECT_EQ(3 * 1200 + 8 * 100, samples_copy.sum()); in TEST_F() 368 EXPECT_EQ(1200 + 100, samples_copy.TotalCount()); in TEST_F() [all …]
|
/external/cronet/base/metrics/ |
D | sample_vector_unittest.cc | 305 SampleVector samples_copy(&ranges); in TEST_F() local 306 samples_copy.Add(samples); in TEST_F() 307 EXPECT_FALSE(GetSamplesCounts(samples_copy)); in TEST_F() 308 EXPECT_EQ(3 * 600, samples_copy.sum()); in TEST_F() 309 EXPECT_EQ(600, samples_copy.TotalCount()); in TEST_F() 310 EXPECT_EQ(600, samples_copy.redundant_count()); in TEST_F() 338 samples_copy.Add(samples); in TEST_F() 339 EXPECT_TRUE(GetSamplesCounts(samples_copy)); in TEST_F() 340 EXPECT_EQ(3 * 1200 + 8 * 100, samples_copy.sum()); in TEST_F() 341 EXPECT_EQ(1200 + 100, samples_copy.TotalCount()); in TEST_F() [all …]
|