22 using ::folly::detail::CompressionCounter;
30 TEST(FollyCountersTest, HasImplementation) {
32 kCodecType, kCodecName,
folly::none, kKey, CompressionCounterType::SUM);
36 TEST(FollyCountersTest, SumWorks) {
38 kCodecType, kCodecName,
folly::none, kKey, CompressionCounterType::SUM);
39 for (
int i = 0;
i < 100; ++
i) {
45 TEST(FollyCountersTest, AvgWorks) {
47 kCodecType, kCodecName,
folly::none, kKey, CompressionCounterType::AVG);
48 for (
int i = 0;
i < 100; ++
i) {
TEST(FollyCountersTest, HasImplementation)
std::atomic< int > counter
#define EXPECT_FALSE(condition)