#include "gtest/gtest.h"
#include <Eigen/Core>
#include <type_traits>
Go to the source code of this file.
|
template<typename T , typename std::enable_if< is_scalar< T >::value, int >::type = 0> |
::testing::AssertionResult | alps::testing::NearPredFormat (const char *expr1, const char *expr2, const char *abs_error_expr, const T &val1, const T &val2, double abs_error) |
|
template<typename Derived1 , typename Derived2 > |
::testing::AssertionResult | alps::testing::NearPredFormat (const char *expr1, const char *expr2, const char *abs_error_expr, const Eigen::MatrixBase< Derived1 > &val1, const Eigen::MatrixBase< Derived2 > &val2, double abs_error) |
|
Extends gtest's EXPECT_NEAR to complex variables and Eigen matrices
Definition at line 70 of file near.hpp.