|
|
@ -611,7 +611,7 @@ public: |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// get RNG to generate random input data for a test
|
|
|
|
// get RNG to generate random input data for a test
|
|
|
|
RNG& get_rng() { return rng; } |
|
|
|
RNG& get_rng() { return cv::theRNG(); } |
|
|
|
|
|
|
|
|
|
|
|
// returns the current error code
|
|
|
|
// returns the current error code
|
|
|
|
TS::FailureCode get_err_code() { return TS::FailureCode(current_test_info.code); } |
|
|
|
TS::FailureCode get_err_code() { return TS::FailureCode(current_test_info.code); } |
|
|
@ -629,7 +629,6 @@ public: |
|
|
|
protected: |
|
|
|
protected: |
|
|
|
|
|
|
|
|
|
|
|
// these are allocated within a test to try to keep them valid in case of stack corruption
|
|
|
|
// these are allocated within a test to try to keep them valid in case of stack corruption
|
|
|
|
RNG rng; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// information about the current test
|
|
|
|
// information about the current test
|
|
|
|
TestInfo current_test_info; |
|
|
|
TestInfo current_test_info; |
|
|
|