Adding call to FAIL which never gets reached
git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@35267 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
This commit is contained in:
parent
3a00224b10
commit
b59d080add
|
|
@ -230,10 +230,13 @@ TEST(laser_geometry, projectLaser)
|
|||
while (permuter.step())
|
||||
{
|
||||
try
|
||||
{
|
||||
{
|
||||
//printf("%f %f %f %f %f %f\n", range, intensity, min_angle, max_angle, angle_increment, scan_time.toSec());
|
||||
sensor_msgs::LaserScan scan = build_constant_scan(range, intensity, min_angle, max_angle, angle_increment, scan_time);
|
||||
|
||||
// WE NEVER GET HERE!!
|
||||
FAIL();
|
||||
|
||||
sensor_msgs::PointCloud cloud_out;
|
||||
projector.projectLaser(scan, cloud_out, -1.0, laser_geometry::channel_option::Index);
|
||||
EXPECT_EQ(cloud_out.channels.size(), (unsigned int)1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user