10 #include "gtest/gtest.h" 15 TEST(RotationTensorTest, rotation)
17 std::vector<Real> input(81);
18 for (
size_t i = 0; i < input.size(); ++i)
26 auto xyrot = xrot * yrot;
27 auto yxrot = yrot * xrot;
36 EXPECT_NEAR(0, (axy1 - axy2).
L2norm(), 1E-8);
This is a RealTensor version of a rotation matrix It is instantiated with the Euler angles...
TEST(RotationTensorTest, rotation)