Define EXPECT_MATRIX_NEAR
Defined in File eigen_gtest.hpp
Define Documentation
-
EXPECT_MATRIX_NEAR(v1, v2, tol)
Non-fatal check for approximate equality of two Eigen matrix-like objects.
This version return success if abs(v1[i] - v2[i]) < tol for every element i in the matrix.
- Parameters:
v1 – [in] The expected matrix
v2 – [in] The actual matrix
tol – [in] The allowed tolerance between any entries in v1 and v2