Template Function beluga::testing::Vector2Near

Function Documentation

template<class Scalar>
inline auto beluga::testing::Vector2Near(const Sophus::Vector2<Scalar> &t, Scalar e)

Vector2 element matcher.

Template Parameters:

Scalar – The scalar type.

Parameters:
  • t – The value to compare against.

  • e – The max absolute error.