Monero
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::internal::FloatingEqMatcher< FloatType > Class Template Reference

#include <gmock-matchers.h>

Classes

class  Impl
 

Public Member Functions

 FloatingEqMatcher (FloatType expected, bool nan_eq_nan)
 
 FloatingEqMatcher (FloatType expected, bool nan_eq_nan, FloatType max_abs_error)
 
 operator Matcher< FloatType > () const
 
 operator Matcher< const FloatType & > () const
 
 operator Matcher< FloatType & > () const
 

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (FloatingEqMatcher)
 

Private Attributes

const FloatType expected_
 
const bool nan_eq_nan_
 
const FloatType max_abs_error_
 

Constructor & Destructor Documentation

◆ FloatingEqMatcher() [1/2]

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

◆ FloatingEqMatcher() [2/2]

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

Member Function Documentation

◆ GTEST_DISALLOW_ASSIGN_()

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

◆ operator Matcher< const FloatType & >()

template<typename FloatType>
testing::internal::FloatingEqMatcher< FloatType >::operator Matcher< const FloatType &> ( ) const
inline

◆ operator Matcher< FloatType & >()

template<typename FloatType>
testing::internal::FloatingEqMatcher< FloatType >::operator Matcher< FloatType &> ( ) const
inline

◆ operator Matcher< FloatType >()

template<typename FloatType>
testing::internal::FloatingEqMatcher< FloatType >::operator Matcher< FloatType > ( ) const
inline

Member Data Documentation

◆ expected_

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

◆ max_abs_error_

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

◆ nan_eq_nan_

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

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