Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrPanov committed Apr 14, 2022
1 parent ea5fb7b commit 189c5ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/aruco/test/test_arucodetection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -777,8 +777,8 @@ TEST_P(ArucoThreading, number_of_threads_does_not_change_results)
cv::aruco::detectMarkers(img, dictionary, original_corners, original_ids, params);
}

ASSERT_EQ(original_ids.size(), 1);
ASSERT_EQ(original_corners.size(), 1);
ASSERT_EQ(original_ids.size(), 1ull);
ASSERT_EQ(original_corners.size(), 1ull);

int num_threads_to_test[] = { 2, 8, 16, 32, height_img-1, height_img, height_img+1};

Expand All @@ -790,7 +790,7 @@ TEST_P(ArucoThreading, number_of_threads_does_not_change_results)
cv::aruco::detectMarkers(img, dictionary, corners, ids, params);

// If we don't find any markers, the test is broken
ASSERT_EQ(ids.size(), 1);
ASSERT_EQ(ids.size(), 1ull);

// Make sure we got the same result as the first time
ASSERT_EQ(corners.size(), original_corners.size());
Expand Down

0 comments on commit 189c5ef

Please sign in to comment.