#include <vector>
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/prediction/input_predictor_unittest_helpers.h"
#include "ui/base/prediction/kalman_predictor.h"
namespace ui {
namespace test {
namespace {
constexpr uint32_t kExpectedStableIterNum = …;
struct DataSet { … };
void ValidateSingleKalmanFilter(const DataSet& data) { … }
}
class KalmanPredictorTest : public InputPredictorTest { … };
TEST_F(KalmanPredictorTest, KalmanFilterPredictedValue) { … }
TEST_F(KalmanPredictorTest, ShouldHasPrediction) { … }
TEST_F(KalmanPredictorTest, PredictConstantValue) { … }
TEST_F(KalmanPredictorTest, PredictLinearValue) { … }
TEST_F(KalmanPredictorTest, PredictQuadraticValue) { … }
TEST_F(KalmanPredictorTest, TimeInterval) { … }
TEST_F(KalmanPredictorTest, HeuristicApproach) { … }
TEST_F(KalmanPredictorTest, DirectionalCutOff) { … }
}
}