Macros | Functions
testing.hpp File Reference
#include <gtest/gtest.h>
#include <Eigen/Core>
Include dependency graph for testing.hpp:

Go to the source code of this file.

Macros

#define ASSERT_MATRICES_EQ_WITH_NAN(first, second)   assertMatrixesEqualWithNan((first), #first, (second), #second, __LINE__)
 

Functions

static void assertMatrixesEqualWithNan (Eigen::Ref< const Eigen::MatrixXf > first, std::string firstName, Eigen::Ref< const Eigen::MatrixXf > second, std::string secondName, int line)
 

Macro Definition Documentation

◆ ASSERT_MATRICES_EQ_WITH_NAN

#define ASSERT_MATRICES_EQ_WITH_NAN (   first,
  second 
)    assertMatrixesEqualWithNan((first), #first, (second), #second, __LINE__)

Copied from ANYbotics/eigen_utils, to avoid testing dependency.

Definition at line 10 of file testing.hpp.

Function Documentation

◆ assertMatrixesEqualWithNan()

static void assertMatrixesEqualWithNan ( Eigen::Ref< const Eigen::MatrixXf >  first,
std::string  firstName,
Eigen::Ref< const Eigen::MatrixXf >  second,
std::string  secondName,
int  line 
)
static

Definition at line 11 of file testing.hpp.



grid_map_core
Author(s): Péter Fankhauser
autogenerated on Wed Jul 5 2023 02:23:35