// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "media/gpu/exponential_moving_average.h" #include "testing/gtest/include/gtest/gtest.h" namespace media { namespace { // Test ExponentialMovingAverageTest adds the predefined values and checks // whether the correct mean and standard deviation values are produced. class ExponentialMovingAverageTest : public testing::Test { … }; // Test Cases // Adding predefined sequence to the moving average filter and checking // whether the stats are inside expected ranges. The filter is checked // with two sequences using different window sizes. TEST_F(ExponentialMovingAverageTest, RunBasicMovingAverageTest) { … } } // namespace } // namespace media