ITK
6.0.0
Insight Toolkit
|
Go to the source code of this file.
Namespaces | |
namespace | itk |
namespace | itk::GTest |
namespace | itk::GTest::Predicate |
Macros | |
#define | ITK_EXPECT_VECTOR_NEAR(val1, val2, rmsError) EXPECT_PRED_FORMAT3(itk::GTest::Predicate::VectorDoubleRMSPredFormat, val1, val2, rmsError) |
Functions | |
template<typename T1 , typename T2 > | |
inline ::testing::AssertionResult | itk::GTest::Predicate::VectorDoubleRMSPredFormat (const char *expr1, const char *expr2, const char *rmsErrorExpr, const T1 &val1, const T2 &val2, double rmsError) |
#define ITK_EXPECT_VECTOR_NEAR | ( | val1, | |
val2, | |||
rmsError | |||
) | EXPECT_PRED_FORMAT3(itk::GTest::Predicate::VectorDoubleRMSPredFormat, val1, val2, rmsError) |
A custom GTest macro for comparing 2 itk array-like objects. This verifies that the root mean squares error between the two array-like objects doesn't exceed the given error.
Definition at line 33 of file itkGTestPredicate.h.