#include "ui/events/ozone/evdev/touch_filter/neural_stylus_palm_detection_filter_util.h"
#include <algorithm>
#include <cstdint>
#include <utility>
#include <vector>
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/events/ozone/evdev/event_device_test_util.h"
#include "ui/events/ozone/evdev/touch_evdev_types.h"
#include "ui/events/ozone/evdev/touch_filter/palm_detection_filter.h"
#include "ui/events/ozone/evdev/touch_filter/shared_palm_detection_filter_state.h"
ElementsAre;
IsEmpty;
namespace ui {
MATCHER_P(SampleTime, time, "Does the sample have given time.") { … }
class NeuralStylusPalmDetectionFilterUtilTest
: public testing::TestWithParam<bool> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(NeuralStylusPalmDetectionFilterUtilTest, DistilledNocturneTest) { … }
TEST_P(NeuralStylusPalmDetectionFilterUtilTest, NoMinorResTest) { … }
TEST_P(NeuralStylusPalmDetectionFilterUtilTest, DistillerKohakuTest) { … }
TEST_P(NeuralStylusPalmDetectionFilterUtilTest, DistilledLinkTest) { … }
TEST_P(NeuralStylusPalmDetectionFilterUtilTest, PalmFilterSampleTest) { … }
TEST_P(NeuralStylusPalmDetectionFilterUtilTest, LinkTouchscreenSampleTest) { … }
TEST_P(NeuralStylusPalmDetectionFilterUtilTest, PalmFilterStrokeTest) { … }
TEST_P(NeuralStylusPalmDetectionFilterUtilTest,
PalmFilterStrokeBiggestSizeTest) { … }
TEST_P(NeuralStylusPalmDetectionFilterUtilTest, UnscaledMajorMinorResolution) { … }
TEST_P(NeuralStylusPalmDetectionFilterUtilTest, StrokeGetMaxMajorTest) { … }
TEST_P(NeuralStylusPalmDetectionFilterUtilTest, SampleRadiusConversion) { … }
TEST(PalmFilterStrokeTest, NumberOfResampledValues) { … }
TEST(PalmFilterStrokeTest, ResamplingTest) { … }
TEST(PalmFilterStrokeTest, MultipleResampledValues) { … }
}