MCPcopy Create free account
hub / github.com/colmap/colmap / TEST

Function TEST

src/colmap/geometry/sim3_test.cc:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49TEST(Sim3d, Default) {
50 const Sim3d tform;
51 EXPECT_EQ(tform.scale(), 1);
52 EXPECT_EQ(tform.rotation().coeffs(), Eigen::Quaterniond::Identity().coeffs());
53 EXPECT_EQ(tform.translation(), Eigen::Vector3d::Zero());
54}
55
56TEST(Sim3d, Equals) {
57 Sim3d tform;

Callers

nothing calls this directly

Calls 8

EigenMatrixNearFunction · 0.85
CreateTestDirFunction · 0.85
ToFileMethod · 0.80
TestSim3dFunction · 0.70
InverseFunction · 0.70
rotationMethod · 0.45
translationMethod · 0.45
ToMatrixMethod · 0.45

Tested by

no test coverage detected