blob: fef5b10133dc8bf93ef469b6fc931917ebfee6f0 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_EVENTS_BLINK_PREDICTION_INPUT_FILTER_UNITTEST_HELPERS_H_
#define UI_EVENTS_BLINK_PREDICTION_INPUT_FILTER_UNITTEST_HELPERS_H_
#include "ui/events/blink/prediction/input_filter.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/blink/blink_event_util.h"
namespace ui {
namespace test {
constexpr double kEpsilon = 0.0001;
// Base class for predictor unit tests
class InputFilterTest : public testing::Test {
public:
InputFilterTest();
~InputFilterTest() override;
void TestCloneFilter();
void TestResetFilter();
protected:
std::unique_ptr<InputFilter> filter_;
DISALLOW_COPY_AND_ASSIGN(InputFilterTest);
};
} // namespace test
} // namespace ui
#endif // UI_EVENTS_BLINK_PREDICTION_INPUT_FILTER_UNITTEST_HELPERS_H_