Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iBoot32 committed Dec 21, 2024
1 parent 5efb5bd commit 4a04e91
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,9 @@ TEST_F(OpenCVArmorDetectorTest, test_search_armor_far_back_spin_and_move_video)
// We install the test resources to the package share directory (done in the CMakeLists.txt)
std::string package_share_dir = ament_index_cpp::get_package_share_directory("opencv_armor_detector");
OpenCVArmorDetector *detector_far_back_spin_and_move = new OpenCVArmorDetector({RED, 30, 100, 150, 1, true});

// Should be no missed frames or detected frames at the start
EXPECT_EQ(detector_far_back_spin_and_move->getMissedFrames(), 0);
f
// Should be no missed frames or detected frames at the start
EXPECT_EQ(detector_far_back_spin_and_move->getMissedFrames(), 0);
EXPECT_EQ(detector_far_back_spin_and_move->_detected_frame, 0);
EXPECT_EQ(detector_far_back_spin_and_move->_frame_count, 0);

Expand Down

0 comments on commit 4a04e91

Please # to comment.