Point Cloud Library (PCL)
1.14.1-dev
|
test_macros.h provide helper macros for testing vectors, matrices etc. More...
Namespaces | |
internal | |
Functions | |
template<typename V1 , typename V2 > | |
void | EXPECT_EQ_VECTORS (const V1 &v1, const V2 &v2) |
template<typename V1 , typename V2 , typename Scalar > | |
void | EXPECT_NEAR_VECTORS (const V1 &v1, const V2 &v2, const Scalar &epsilon) |
test_macros.h provide helper macros for testing vectors, matrices etc.
We took some liberty with upcasing names to make them look like googletest macros names so that reader is not confused.
This file also provides a family of googletest-style macros for asserting equality or nearness of xyz, normal, and rgba fields.
void pcl::test::EXPECT_EQ_VECTORS | ( | const V1 & | v1, |
const V2 & | v2 | ||
) |
Definition at line 63 of file pcl_tests.h.
void pcl::test::EXPECT_NEAR_VECTORS | ( | const V1 & | v1, |
const V2 & | v2, | ||
const Scalar & | epsilon | ||
) |
Definition at line 73 of file pcl_tests.h.