• Home
  • Raw
  • Download

Lines Matching refs:samples2

64   SampleVector samples2(2, &ranges);  in TEST()  local
65 samples2.Accumulate(1, 200); in TEST()
66 samples2.Accumulate(2, 200); in TEST()
67 samples2.Accumulate(4, 200); in TEST()
68 EXPECT_EQ(1400, samples2.sum()); in TEST()
69 EXPECT_EQ(600, samples2.TotalCount()); in TEST()
70 EXPECT_EQ(samples2.redundant_count(), samples2.TotalCount()); in TEST()
72 samples1.Add(samples2); in TEST()
81 samples1.Subtract(samples2); in TEST()
119 SampleVector samples2(2, &ranges2); in TEST() local
122 samples2.Accumulate(1, 1); in TEST()
123 samples2.Accumulate(4, 1); in TEST()
124 samples2.Accumulate(5, 2); in TEST()
125 samples2.Accumulate(9, 2); in TEST()
126 EXPECT_EQ(2, samples2.GetCount(1)); in TEST()
127 EXPECT_EQ(4, samples2.GetCount(5)); in TEST()
130 EXPECT_DEATH(samples2.Accumulate(0, 100), ""); in TEST()
131 EXPECT_DEATH(samples2.Accumulate(10, 100), ""); in TEST()
149 SampleVector samples2(2, &ranges2); in TEST() local
151 samples2.Accumulate(1, 100); in TEST()
152 samples1.Add(samples2); in TEST()
156 samples2.Accumulate(0, 100); in TEST()
157 EXPECT_DEATH(samples1.Add(samples2), ""); in TEST()
158 EXPECT_DEATH(samples1.Subtract(samples2), ""); in TEST()
161 samples2.Accumulate(0, -100); in TEST()
162 samples2.Accumulate(6, 100); in TEST()
163 EXPECT_DEATH(samples1.Add(samples2), ""); in TEST()
164 EXPECT_DEATH(samples1.Subtract(samples2), ""); in TEST()
167 samples2.Accumulate(6, -100); in TEST()
168 samples2.Accumulate(3, 100); in TEST()
169 EXPECT_DEATH(samples1.Add(samples2), ""); in TEST()
170 EXPECT_DEATH(samples1.Subtract(samples2), ""); in TEST()