chromium/services/device/generic_sensor/relative_orientation_euler_angles_fusion_algorithm_using_accelerometer_and_gyroscope_unittest.cc

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

#include "services/device/generic_sensor/relative_orientation_euler_angles_fusion_algorithm_using_accelerometer_and_gyroscope.h"

#include <numbers>

#include "base/memory/ptr_util.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/ref_counted.h"
#include "base/numerics/math_constants.h"
#include "base/test/task_environment.h"
#include "services/device/generic_sensor/fake_platform_sensor_fusion.h"
#include "services/device/generic_sensor/generic_sensor_consts.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace device {

namespace {

class
    RelativeOrientationEulerAnglesFusionAlgorithmUsingAccelerometerAndGyroscopeTest
    : public testing::Test {};

}  // namespace

TEST_F(
    RelativeOrientationEulerAnglesFusionAlgorithmUsingAccelerometerAndGyroscopeTest,
    GyroscopeReadingNotChanged) {}

TEST_F(
    RelativeOrientationEulerAnglesFusionAlgorithmUsingAccelerometerAndGyroscopeTest,
    NoAccelerometerReading) {}

TEST_F(
    RelativeOrientationEulerAnglesFusionAlgorithmUsingAccelerometerAndGyroscopeTest,
    NoGyroscopeReading) {}

TEST_F(
    RelativeOrientationEulerAnglesFusionAlgorithmUsingAccelerometerAndGyroscopeTest,
    AccelerometerAndGyroscopeReadingAllZero) {}

TEST_F(
    RelativeOrientationEulerAnglesFusionAlgorithmUsingAccelerometerAndGyroscopeTest,
    GryoscopeZReadingPositiveValues) {}

TEST_F(
    RelativeOrientationEulerAnglesFusionAlgorithmUsingAccelerometerAndGyroscopeTest,
    GryoscopeZReadingNegativeValues) {}

TEST_F(
    RelativeOrientationEulerAnglesFusionAlgorithmUsingAccelerometerAndGyroscopeTest,
    GryoscopeXReadingNonZeroValues) {}

TEST_F(
    RelativeOrientationEulerAnglesFusionAlgorithmUsingAccelerometerAndGyroscopeTest,
    GryoscopeYReadingNonZeroValues) {}

TEST_F(
    RelativeOrientationEulerAnglesFusionAlgorithmUsingAccelerometerAndGyroscopeTest,
    AccelerometerZReadingChangeNotAffectingAlpha) {}

TEST_F(
    RelativeOrientationEulerAnglesFusionAlgorithmUsingAccelerometerAndGyroscopeTest,
    StopSensorShouldClearAllInternalStatisticalData) {}

}  // namespace device