Template Function testing::AssertMatrixEqualHelper

Function Documentation

template<typename Derived1, typename Derived2>
AssertionResult testing::AssertMatrixEqualHelper(const char *e1, const char *e2, const Eigen::MatrixBase<Derived1> &v1, const Eigen::MatrixBase<Derived2> &v2)

Internal helper function for implementing {EXPECT|ASSERT}_MATRIX_EQ.

Don’t use this in your code.

Parameters:
  • e1[in] Expected matrix name

  • e2[in] Actual matrix name

  • v1[in] Expected matrix

  • v2[in] Actual matrix

Returns:

AssertionSuccess or AssertionFailure