提交 12585807 编写于 作者: D Dontmovedad 提交者: Qi Luo

Obstacle Detector: fix lint

上级 8ce0d74e
......@@ -34,7 +34,8 @@ class LibtorchObstacleDetection {
~LibtorchObstacleDetection() = default;
bool Evaluate(const std::vector<std::vector<std::vector<double>>>& imageFrame);
bool Evaluate(
const std::vector<std::vector<std::vector<double>>>& imageFrame);
private:
void LoadModel();
......
......@@ -32,7 +32,9 @@ class LibtorchObstacleDetectionTest : public ::testing::Test {
};
TEST_F(LibtorchObstacleDetectionTest, is_) {
std::vector<std::vector<std::vector<double>>>imageFrame(3, std::vector<std::vector<double>>(608, std::vector<double>(608, 0.01)));
std::vector<std::vector<std::vector<double> > >imageFrame(3,
std::vector<std::vector<double> >(608,
std::vector<double>(608, 0.01)));
bool result = obstacle_detection_.Evaluate(imageFrame);
EXPECT_EQ(result, false);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册