#include "third_party/blink/renderer/platform/peerconnection/linear_histogram.h"
#include <vector>
#include "testing/gtest/include/gtest/gtest.h"
namespace blink {
namespace {
constexpr float kMinValue = …;
constexpr float kMaxValue = …;
constexpr wtf_size_t kNumBuckets = …;
class LinearHistogramTest : public ::testing::Test { … };
TEST_F(LinearHistogramTest, NumValues) { … }
TEST_F(LinearHistogramTest, ReturnsCorrectPercentiles) { … }
TEST_F(LinearHistogramTest, UnderflowReturnsHistogramMinValue) { … }
TEST_F(LinearHistogramTest, OverflowReturnsMaximumObservedValue) { … }
}
}