Namespaces | Functions
sophus_matchers.hpp File Reference

Implements GTest matchers for Sophus/Eigen types. More...

#include <gmock/gmock.h>
#include <sophus/se2.hpp>
#include <sophus/so2.hpp>
#include <sophus/types.hpp>
Include dependency graph for sophus_matchers.hpp:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

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.



beluga
Author(s):
autogenerated on Tue Jul 16 2024 02:59:53