mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 12:40:05 +08:00
4a297a2443
- 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
21 lines
332 B
C++
21 lines
332 B
C++
#include "test_precomp.hpp"
|
|
|
|
static const char* extraTestDataPath =
|
|
#ifdef WINRT
|
|
NULL;
|
|
#else
|
|
getenv("OPENCV_DNN_TEST_DATA_PATH");
|
|
#endif
|
|
|
|
CV_TEST_MAIN("",
|
|
extraTestDataPath ? (void)cvtest::addDataSearchPath(extraTestDataPath) : (void)0
|
|
)
|
|
|
|
namespace opencv_test
|
|
{
|
|
|
|
using namespace cv;
|
|
using namespace cv::dnn;
|
|
|
|
}
|