#include "base/metrics/sample_vector.h"
#include <limits.h>
#include <stddef.h>
#include <atomic>
#include <memory>
#include <vector>
#include "base/metrics/bucket_ranges.h"
#include "base/metrics/histogram.h"
#include "base/metrics/persistent_memory_allocator.h"
#include "base/test/gtest_util.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
class SampleVectorTest : public testing::Test { … };
TEST_F(SampleVectorTest, Accumulate) { … }
TEST_F(SampleVectorTest, Accumulate_LargeValuesDontOverflow) { … }
TEST_F(SampleVectorTest, AddSubtract) { … }
TEST_F(SampleVectorTest, BucketIndexDeath) { … }
TEST_F(SampleVectorTest, DISABLED_AddSubtractBucketNotMatchDeath) { … }
TEST_F(SampleVectorTest, Iterate) { … }
TEST_F(SampleVectorTest, Iterator_InvalidSingleSample) { … }
TEST_F(SampleVectorTest, ExtractingIterator_InvalidSingleSample) { … }
TEST_F(SampleVectorTest, IterateDoneDeath) { … }
TEST_F(SampleVectorTest, SingleSample) { … }
TEST_F(SampleVectorTest, PersistentSampleVector) { … }
TEST_F(SampleVectorTest, PersistentSampleVectorTestWithOutsideAlloc) { … }
TEST_F(SampleVectorTest, GetPeakBucketSize) { … }
}