chromium/ui/base/prediction/linear_predictor_unittest.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/base/prediction/linear_predictor.h"

#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/prediction/input_predictor_unittest_helpers.h"
#include "ui/base/ui_base_features.h"

namespace ui {
namespace test {

class LinearPredictorFirstOrderTest : public InputPredictorTest {};

class LinearPredictorSecondOrderTest : public InputPredictorTest {};

// Test if the output name of the predictor is taking account of the
// equation order
TEST_F(LinearPredictorFirstOrderTest, GetName) {}

// Test if the output name of the predictor is taking account of the
// equation order
TEST_F(LinearPredictorSecondOrderTest, GetName) {}

// Test that the number of events required to compute a prediction is correct
TEST_F(LinearPredictorFirstOrderTest, ShouldHavePrediction) {}

// Test that the number of events required to compute a prediction is correct
TEST_F(LinearPredictorSecondOrderTest, ShouldHavePrediction) {}

TEST_F(LinearPredictorFirstOrderTest, PredictedValue) {}

TEST_F(LinearPredictorSecondOrderTest, PredictedValue) {}

// Test constant position and constant velocity
TEST_F(LinearPredictorSecondOrderTest, ConstantPositionAndVelocity) {}

// Test time interval in first order
TEST_F(LinearPredictorFirstOrderTest, TimeInterval) {}

// Test time interval in second order
TEST_F(LinearPredictorSecondOrderTest, TimeInterval) {}

}  // namespace test
}  // namespace ui