Skip to content

Commit

Permalink
Adjust tests to new alpha values
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanbuettner committed Nov 6, 2015
1 parent fff1de6 commit cbbb638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common/test_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ TEST (PCL, CopyIfFieldExists)
pcl::for_each_type<FieldList> (CopyIfFieldExists<PointXYZRGBNormal, float> (p, "rgb", is_rgb, rgb_val));
EXPECT_EQ (is_rgb, true);
int rgb = *reinterpret_cast<int*>(&rgb_val);
EXPECT_EQ (rgb, 8339710); // alpha is 0
EXPECT_EQ (rgb, 0xffef40fe); // alpha is 255
pcl::for_each_type<FieldList> (CopyIfFieldExists<PointXYZRGBNormal, float> (p, "normal_x", is_normal_x, normal_x_val));
EXPECT_EQ (is_normal_x, true);
EXPECT_EQ (normal_x_val, 1.0);
Expand Down

0 comments on commit cbbb638

Please sign in to comment.