Monero
Loading...
Searching...
No Matches
testing::gmock_matchers_test::FloatingEqMatcher< FloatType >::Impl< T > Class Template Reference

#include <gmock-matchers.h>

Inheritance diagram for testing::gmock_matchers_test::FloatingEqMatcher< FloatType >::Impl< T >:
Collaboration diagram for testing::gmock_matchers_test::FloatingEqMatcher< FloatType >::Impl< T >:

Public Member Functions

 Impl (FloatType expected, bool nan_eq_nan, FloatType max_abs_error)
virtual bool MatchAndExplain (T value, MatchResultListener *listener) const
virtual void DescribeTo (::std::ostream *os) const
virtual void DescribeNegationTo (::std::ostream *os) const
Public Member Functions inherited from testing::MatcherDescriberInterface
virtual ~MatcherDescriberInterface ()

Private Member Functions

bool HasMaxAbsError () const
 GTEST_DISALLOW_ASSIGN_ (Impl)

Private Attributes

const FloatType expected_
const bool nan_eq_nan_
const FloatType max_abs_error_

Constructor & Destructor Documentation

◆ Impl()

template<typename FloatType>
template<typename T>
testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::Impl ( FloatType expected,
bool nan_eq_nan,
FloatType max_abs_error )
inline

Member Function Documentation

◆ DescribeNegationTo()

template<typename FloatType>
template<typename T>
virtual void testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::DescribeNegationTo ( ::std::ostream * os) const
inlinevirtual

◆ DescribeTo()

template<typename FloatType>
template<typename T>
virtual void testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::DescribeTo ( ::std::ostream * os) const
inlinevirtual

◆ GTEST_DISALLOW_ASSIGN_()

template<typename FloatType>
template<typename T>
testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::GTEST_DISALLOW_ASSIGN_ ( Impl< T > )
private

◆ HasMaxAbsError()

template<typename FloatType>
template<typename T>
bool testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::HasMaxAbsError ( ) const
inlineprivate

◆ MatchAndExplain()

template<typename FloatType>
template<typename T>
virtual bool testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::MatchAndExplain ( T value,
MatchResultListener * listener ) const
inlinevirtual

Member Data Documentation

◆ expected_

template<typename FloatType>
template<typename T>
const FloatType testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::expected_
private

◆ max_abs_error_

template<typename FloatType>
template<typename T>
const FloatType testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::max_abs_error_
private

◆ nan_eq_nan_

template<typename FloatType>
template<typename T>
const bool testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::nan_eq_nan_
private

The documentation for this class was generated from the following file: