Implements GTest matchers for Sophus/Eigen types. More...
#include <gmock/gmock.h>
#include <sophus/se2.hpp>
#include <sophus/so2.hpp>
#include <sophus/types.hpp>
Go to the source code of this file.
Namespaces | |
beluga | |
The main Beluga namespace. | |
beluga::testing | |
Functions | |
template<class Scalar > | |
auto | beluga::testing::SE2Near (const Sophus::SE2< Scalar > &t, Scalar e) |
SE2 element matcher. More... | |
template<class Scalar > | |
auto | beluga::testing::SE2Near (const Sophus::SO2< Scalar > &r, const Sophus::Vector2< Scalar > &t, Scalar e) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More... | |
template<class Scalar > | |
auto | beluga::testing::SO2Near (const Sophus::SO2< Scalar > &t, Scalar e) |
SO2 element matcher. More... | |
template<class Scalar > | |
auto | beluga::testing::Vector2Near (const Sophus::Vector2< Scalar > &t, Scalar e) |
Vector2 element matcher. More... | |
template<class Scalar > | |
auto | beluga::testing::Vector3Near (const Sophus::Vector3< Scalar > &t, Scalar e) |
Vector3 element matcher. More... | |
Implements GTest matchers for Sophus/Eigen types.
Make sure you link against the googletest library before including this header. Matchers can be used with EXPECT_THAT and ASSERT_THAT macros.
Definition in file sophus_matchers.hpp.