Skip to content

Commit

Permalink
reaname test class
Browse files Browse the repository at this point in the history
  • Loading branch information
Ar-Ray-code committed Nov 22, 2023
1 parent 90cbd6f commit bc04b03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions panel_detector_plugins/test/src/test_publish_center.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <panel_detector_plugins/publish_center.hpp>
#include <rclcpp/rclcpp.hpp>

class TestErrorMsgGenerator : public ::testing::Test
class TestPanelDetectorClass : public ::testing::Test
{
protected:
std::unique_ptr<panel_detector_plugins::PublishCenter> target_class_;
Expand All @@ -26,7 +26,7 @@ class TestErrorMsgGenerator : public ::testing::Test
}
};

TEST_F(TestErrorMsgGenerator, test_default)
TEST_F(TestPanelDetectorClass, test_default)
{
auto result = this->target_class_->detect(cv::Mat(480, 640, CV_8UC3));
EXPECT_EQ(result.detections[0].bbox.center.position.x, 320);
Expand Down

0 comments on commit bc04b03

Please sign in to comment.