Alexander Alekhin
4a297a2443
ts: refactor OpenCV tests
...
- removed tr1 usage (dropped in C++17)
- moved includes of vector/map/iostream/limits into ts.hpp
- require opencv_test + anonymous namespace (added compile check)
- fixed norm() usage (must be from cvtest::norm for checks) and other conflict functions
- added missing license headers
7 years ago
Alexander Alekhin
ebdd74105a
core(test): add regression test for RNG in parallel_for_()
8 years ago
Rostislav Vasilikhin
96edb270a6
fixed memory corruption when normal dist. params have less channels than target matrix; test added
8 years ago
Rostislav Vasilikhin
7b2ef647aa
fixed memory corruption when normal dist. params have less channels than target matrix; test added
8 years ago
Adil Ibragimov
8a4a1bb018
Several type of formal refactoring:
...
1. someMatrix.data -> someMatrix.prt()
2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
10 years ago
Ilya Lavrenov
aa5326c231
cv::norm -> cvtest::norm in tests
...
Conflicts:
modules/core/src/stat.cpp
11 years ago
Roman Donchenko
484607fb6f
Backported RNG_MT19937 from master.
12 years ago
marina.kolpakova
12fe6ff734
add Mersenne Twister random number generator
12 years ago
Vadim Pisarevsky
0bd68a70f1
fixed #2297 , #2300 ; fixed several warnings
12 years ago
Andrey Kamaev
bd0e0b5800
Merged the trunk r8589:8653 - all changes related to build warnings
13 years ago
Andrey Kamaev
f2d3b9b4a1
Warning fixes continued
13 years ago
Vadim Pisarevsky
2fd1e2ea57
merged all the latest changes from 2.4 to trunk
13 years ago
Alexander Shishkov
a03c6d9d1f
fixed RAND test for float values
13 years ago
Vadim Pisarevsky
586ff429ec
fixed bug #1318 . extended RNG::fill with the optional saturateRange parameter
13 years ago
Vadim Pisarevsky
061b49e0b2
reworked nearly all of the OpenCV tests (except for opencv_gpu tests) - they now use the Google Test engine.
14 years ago
Vadim Pisarevsky
a2676b2777
fixed failure in rand test (ticket #449 )
14 years ago
Vadim Pisarevsky
39335eb391
rand test is returned back
14 years ago
Victor Erukhimov
49f1a9c3d5
Commented out rand test due to failure on win32
15 years ago
Vadim Pisarevsky
ba5eb93a53
rewrote normal RNG function to workaround the bug in gcc 3.4 (ticket #449 )
15 years ago
Alexander Shishkov
998cce4a2d
exclude failed tests
15 years ago
Vadim Pisarevsky
127d6649a1
"atomic bomb" commit. Reorganized OpenCV directory structure
15 years ago