| 94 | } |
| 95 | |
| 96 | TEST(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 | |
| 106 | TEST(LORANSAC, SimilarityTransform) { |
| 107 | const auto data = GenerateTestData(); |
nothing calls this directly
no test coverage detected