#include "media/base/feedback_signal_accumulator.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace media {
class FeedbackSignalAccumulatorTest : public ::testing::Test { … };
TEST_F(FeedbackSignalAccumulatorTest, HasCorrectStartingValueAfterReset) { … }
TEST_F(FeedbackSignalAccumulatorTest, DoesNotUpdateIfBeforeResetTime) { … }
TEST_F(FeedbackSignalAccumulatorTest, TakesMaxOfUpdatesAtResetTime) { … }
TEST_F(FeedbackSignalAccumulatorTest, AppliesMaxOfUpdatesWithSameTimestamp) { … }
TEST_F(FeedbackSignalAccumulatorTest, ProvidesExpectedHoldResponse) { … }
TEST_F(FeedbackSignalAccumulatorTest, IgnoresUpdatesThatAreOutOfOrder) { … }
}