// This file is part of OpenCV project.// It is subject to the license terms in the LICENSE file found in the top-level directory// of this distribution and at http://opencv.org/license.html.#include "test_precomp.hpp"#include <opencv2/aruco/charuco.hpp>TEST(CV_ArucoDrawMarker,regression_1226){intsquares_x=7;intsquares_y=5;intbwidth=1600;intbheight=1200;cv::Ptr<cv::aruco::Dictionary>dict=cv::aruco::getPredefinedDictionary(cv::aruco::DICT_4X4_50);cv::Ptr<cv::aruco::CharucoBoard>board=cv::aruco::CharucoBoard::create(squares_x,squares_y,1.0,0.75,dict);cv::Sizesz(bwidth,bheight);cv::Matmat;ASSERT_NO_THROW({board->draw(sz,mat,0,1);});}