1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

refactor: rework test to be more specific

This commit is contained in:
Vadim Levin
2022-11-30 17:40:38 +03:00
parent f1055a7e91
commit 3a15152be5
6 changed files with 14 additions and 30 deletions
@@ -219,6 +219,11 @@ AsyncArray testAsyncException()
return p.getArrayResult();
}
CV_WRAP static inline
String dumpVec2i(const cv::Vec2i value = cv::Vec2i(42, 24)) {
return format("Vec2i(%d, %d)", value[0], value[1]);
}
namespace nested {
CV_WRAP static inline bool testEchoBooleanFunction(bool flag) {
return flag;