#include "third_party/blink/renderer/modules/xr/xr_rigid_transform.h"
#include <algorithm>
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/bindings/core/v8/script_value.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_testing.h"
#include "third_party/blink/renderer/modules/xr/xr_test_utils.h"
#include "third_party/blink/renderer/modules/xr/xr_utils.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
namespace blink {
namespace {
static void AssertDOMPointsEqualForTest(const DOMPointReadOnly* a,
const DOMPointReadOnly* b) { … }
static void AssertMatricesEqualForTest(const gfx::Transform& a,
const gfx::Transform& b) { … }
static void AssertTransformsEqualForTest(XRRigidTransform* a,
XRRigidTransform* b) { … }
static void TestComposeDecompose(DOMPointInit* position,
DOMPointInit* orientation) { … }
static void TestDoubleInverse(DOMPointInit* position,
DOMPointInit* orientation) { … }
TEST(XRRigidTransformTest, Compose) { … }
TEST(XRRigidTransformTest, Decompose) { … }
TEST(XRRigidTransformTest, ComposeDecompose) { … }
TEST(XRRigidTransformTest, ComposeDecompose2) { … }
TEST(XRRigidTransformTest, DoubleInverse) { … }
TEST(XRRigidTransformTest, DoubleInverse2) { … }
TEST(XRRigidTransformTest, InverseObjectEquality) { … }
}
}