mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 19:20:28 +08:00
Fix random failures of Split and Merge tests
This commit is contained in:
parent
867ddebe07
commit
ae5661d5dc
@ -925,7 +925,7 @@ protected:
|
||||
|
||||
RNG& rng = theRNG();
|
||||
Size mSize(rng.uniform(minMSize, maxMSize), rng.uniform(minMSize, maxMSize));
|
||||
size_t mvSize = rng(maxMvSize);
|
||||
size_t mvSize = rng.uniform(1, maxMvSize);
|
||||
|
||||
int res = cvtest::TS::OK, curRes = res;
|
||||
curRes = run_case(CV_8U, mvSize, mSize, rng);
|
||||
|
Loading…
Reference in New Issue
Block a user