mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
Merge pull request #18762 from TolyaTalamanov:at/support-garray
[G-API] Wrap GArray * Wrap GArray for output * Collect in/out info in graph * Add imgproc tests * Add cv::Point2f * Update test_gapi_imgproc.py * Fix comments to review
This commit is contained in:
committed by
GitHub
parent
2155296a13
commit
7521f207b1
@@ -27,6 +27,22 @@ TEST(Point, CreateWithParams)
|
||||
EXPECT_EQ(2, p.y);
|
||||
}
|
||||
|
||||
TEST(Point2f, CreateEmpty)
|
||||
{
|
||||
cv::gapi::own::Point2f p;
|
||||
|
||||
EXPECT_EQ(0.f, p.x);
|
||||
EXPECT_EQ(0.f, p.y);
|
||||
}
|
||||
|
||||
TEST(Point2f, CreateWithParams)
|
||||
{
|
||||
cv::gapi::own::Point2f p = {3.14f, 2.71f};
|
||||
|
||||
EXPECT_EQ(3.14f, p.x);
|
||||
EXPECT_EQ(2.71f, p.y);
|
||||
}
|
||||
|
||||
TEST(Rect, CreateEmpty)
|
||||
{
|
||||
cv::gapi::own::Rect r;
|
||||
|
||||
Reference in New Issue
Block a user