mirror of
https://github.com/opencv/opencv.git
synced 2026-09-25 04:09:57 +03:00
Geometry:Test cleanup - #29753 **co-authored by: @varun-jaiswal17** ### geometry test cleanup ### Removed (dead or unbuildable) - `test_modelest.cpp` (231 lines, removed entirely): includes `_modelest.h` and subclasses `CvModelEstimator2`, both of which are gone from the tree, so it cannot compile. - `test_cameras.cpp:11-207` (197 lines removed): a `#if 0` block, never compiled, holding an older `cvtest::ArrayTest`-based `CV_ProjectPointsTest` built on the removed C API (`CvMat`, `cvProjectPoints2`). A live class of the same name derived from `cvtest::BaseTest` follows it and covers strictly more: `Rodrigues` plus five jacobians against the dead block's two. ### Given real assertions - `Calib3d_FindFundamentalMat.correctMatches` (`test_fundam.cpp:410`): reverting the solvePoly fix gives -nan / 1.79e+308 and it still passed. ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [x] The feature is well documented and sample code can be built with the project CMake