From b59d080add608e8574ab91d8001305c38c33d265 Mon Sep 17 00:00:00 2001 From: Jeremy Leibs Date: Sat, 15 Jan 2011 03:12:01 +0000 Subject: [PATCH] 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 --- test/projection_test.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/projection_test.cpp b/test/projection_test.cpp index 77c1cb5..35b113a 100644 --- a/test/projection_test.cpp +++ b/test/projection_test.cpp @@ -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);