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

Function TEST

src/colmap/optim/loransac_test.cc:96–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96TEST(LORANSAC, Report) {
97 LORANSAC<SimilarityTransformEstimator<3>,
98 SimilarityTransformEstimator<3>>::Report report;
99 EXPECT_FALSE(report.success);
100 EXPECT_EQ(report.num_trials, 0);
101 EXPECT_EQ(report.support.num_inliers, 0);
102 EXPECT_EQ(report.support.residual_sum, std::numeric_limits<double>::max());
103 EXPECT_EQ(report.inlier_mask.size(), 0);
104}
105
106TEST(LORANSAC, SimilarityTransform) {
107 const auto data = GenerateTestData();

Callers

nothing calls this directly

Calls 4

sizeMethod · 0.80
GenerateTestDataFunction · 0.70
ValidateReportFunction · 0.70
EstimateMethod · 0.45

Tested by

no test coverage detected