提交 5ddbe191 编写于 作者: K kechxu 提交者: Liangliang Zhang

Prediction: unit test for ObstaclesContainer::GetCurrentFramePredictableObstacleIds()

上级 4cc6820d
......@@ -63,6 +63,8 @@ TEST_F(ObstaclesContainerTest, Vehicles) {
EXPECT_EQ(obstacle_ptr3->type(), perception::PerceptionObstacle::VEHICLE);
Obstacle* obstacle_ptr4 = container_.GetObstacle(4);
EXPECT_TRUE(obstacle_ptr4 == nullptr);
EXPECT_EQ(container_.GetCurrentFramePredictableObstacleIds().size(), 6);
}
TEST_F(ObstaclesContainerTest, Pedestrian) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册