chromium/ui/gfx/geometry/quaternion_unittest.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/354829279): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "ui/gfx/geometry/quaternion.h"

#include <cmath>
#include <numbers>

#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/vector3d_f.h"

namespace gfx {

namespace {

const double kEpsilon =;

#define EXPECT_QUATERNION(expected, actual)

void CompareQuaternions(const Quaternion& a, const Quaternion& b) {}

}  // namespace

TEST(QuatTest, DefaultConstruction) {}

TEST(QuatTest, AxisAngleCommon) {}

TEST(QuatTest, VectorToVectorRotation) {}

TEST(QuatTest, AxisAngleWithZeroLengthAxis) {}

TEST(QuatTest, Addition) {}

TEST(QuatTest, Multiplication) {}

TEST(QuatTest, Scaling) {}

TEST(QuatTest, Normalization) {}

TEST(QuatTest, Lerp) {}

TEST(QuatTest, Slerp) {}

TEST(QuatTest, SlerpOppositeAngles) {}

TEST(QuatTest, SlerpRotateXRotateY) {}

TEST(QuatTest, Slerp360) {}

TEST(QuatTest, SlerpEquivalentQuaternions) {}

TEST(QuatTest, SlerpQuaternionWithInverse) {}

TEST(QuatTest, SlerpObtuseAngle) {}

TEST(QuatTest, Equals) {}

TEST(QuatTest, NotEquals) {}

}  // namespace gfx