Lines Matching refs:aggregator
35 std::unique_ptr<KllQuantile> aggregator = KllQuantile::Create(); in TEST() local
37 aggregator->Add(i); in TEST()
39 EXPECT_EQ(aggregator->num_values(), 50); in TEST()
41 AggregatorStateProto aggregator_state = aggregator->SerializeToProto(); in TEST()
51 std::unique_ptr<KllQuantile> aggregator = KllQuantile::Create(); in TEST() local
53 aggregator->Add(i); in TEST()
55 EXPECT_EQ(aggregator->num_values(), 10); in TEST()
57 AggregatorStateProto aggregator_state = aggregator->SerializeToProto(); in TEST()
91 std::unique_ptr<KllQuantile> aggregator = KllQuantile::Create(options); in TEST() local
93 aggregator->Add(i); in TEST()
95 EXPECT_EQ(aggregator->num_values(), 195); in TEST()
97 AggregatorStateProto aggregator_state = aggregator->SerializeToProto(); in TEST()
123 std::unique_ptr<KllQuantile> aggregator = KllQuantile::Create(options); in TEST() local
125 aggregator->Add(i); in TEST()
127 EXPECT_EQ(aggregator->num_values(), 991); in TEST()
129 AggregatorStateProto aggregator_state = aggregator->SerializeToProto(); in TEST()
149 std::unique_ptr<KllQuantile> aggregator = KllQuantile::Create(); in TEST() local
151 AggregatorStateProto aggregator_state = aggregator->SerializeToProto(); in TEST()
152 EXPECT_EQ(aggregator->num_values(), 0); in TEST()