Skip to content

ml: refactored tests#15959

Merged
alalek merged 5 commits intoopencv:3.4from
mshabunin:refactor-ml-tests
Nov 25, 2019
Merged

ml: refactored tests#15959
alalek merged 5 commits intoopencv:3.4from
mshabunin:refactor-ml-tests

Conversation

@mshabunin
Copy link
Copy Markdown
Contributor

@mshabunin mshabunin commented Nov 20, 2019

This pullrequest changes

  • reorganized test files
  • use parametrized tests where appropriate
  • use stable theRNG in most tests
  • use modern style with EXPECT_/ASSERT_ checks

Notes:

  • KNearest/KDTree is broken - does not initialize output (this problem was previously shadowed by preceding test code).
  • opencv_extra/testdata/ml/{a,sl}validataion.xml can be removed (I'll clean them later)

* use parametrized tests where appropriate
* use stable theRNG in most tests
* use modern style with EXPECT_/ASSERT_ checks
@alalek alalek merged commit 5ff1fab into opencv:3.4 Nov 25, 2019
czgdp1807 pushed a commit to czgdp1807/opencv that referenced this pull request Nov 26, 2019
ml: refactored tests

* use parametrized tests where appropriate
* use stable theRNG in most tests
* use modern style with EXPECT_/ASSERT_ checks
@alalek alalek mentioned this pull request Nov 29, 2019
@mshabunin mshabunin deleted the refactor-ml-tests branch July 14, 2020 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants