#include <stddef.h>
#include <stdint.h>
#include <vector>
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/test/simple_test_tick_clock.h"
#include "media/base/fake_single_thread_task_runner.h"
#include "media/cast/constants.h"
#include "media/cast/sender/congestion_control.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media {
namespace cast {
static const int kMaxBitrateConfigured = …;
static const int kMinBitrateConfigured = …;
static const int64_t kFrameDelayMs = …;
static const double kMaxFrameRate = …;
static const int64_t kStartMillisecond = …12345678900000);
static const double kTargetEmptyBufferFraction = …;
class CongestionControlTest : public ::testing::Test { … };
TEST_F(CongestionControlTest, SimpleRun) { … }
TEST_F(CongestionControlTest, RetainsSufficientHistory) { … }
}
}