22#include "testing/testing.h"
30 typedef Vec4 FMatrixType;
31 typedef Vec3 XMatrixType;
33 double x1 = x.x() - 2;
34 double y1 = x.y() - 5;
37 fx << x1 * x1 + z1 * z1, y1 * y1 + z1 * z1, z1 * z1, x1 * x1;
43 Vec3 x(0.76026643, -30.01799744, 0.55192142);
49 Vec3 expected_min_x(2, 5, 0);
51 EXPECT_MATRIX_NEAR(expected_min_x, x, 1
e-5);
ATTR_WARN_UNUSED_RESULT const BMVert const BMEdge * e
TEST(PolynomialCameraIntrinsics2, ApplyOnFocalCenter)