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

Function TEST

src/colmap/optim/ransac_test.cc:96–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96TEST(RANSAC, Options) {
97 RANSACOptions options;
98 EXPECT_EQ(options.max_error, 0);
99 EXPECT_EQ(options.min_inlier_ratio, 0.1);
100 EXPECT_EQ(options.confidence, 0.99);
101 EXPECT_EQ(options.min_num_trials, 0);
102 EXPECT_EQ(options.max_num_trials, std::numeric_limits<int>::max());
103}
104
105TEST(RANSAC, Report) {
106 RANSAC<SimilarityTransformEstimator<3>>::Report report;

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