Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::internal::FloatingEq2Matcher< FloatType > Class Template Reference

#include <gmock-matchers.h>

Public Member Functions

 FloatingEq2Matcher ()
 
 FloatingEq2Matcher (bool nan_eq_nan)
 
 FloatingEq2Matcher (FloatType max_abs_error)
 
 FloatingEq2Matcher (FloatType max_abs_error, bool nan_eq_nan)
 
template<typename T1 , typename T2 >
 operator Matcher< ::testing::tuple< T1, T2 > > () const
 
template<typename T1 , typename T2 >
 operator Matcher< const ::testing::tuple< T1, T2 > & > () const
 

Detailed Description

template<typename FloatType>
class testing::internal::FloatingEq2Matcher< FloatType >

Definition at line 2242 of file gmock-matchers.h.

Constructor & Destructor Documentation

◆ FloatingEq2Matcher() [1/4]

template<typename FloatType >
testing::internal::FloatingEq2Matcher< FloatType >::FloatingEq2Matcher ( )
inline

Definition at line 2244 of file gmock-matchers.h.

2244{ Init(-1, false); }
Definition lib.h:54

◆ FloatingEq2Matcher() [2/4]

template<typename FloatType >
testing::internal::FloatingEq2Matcher< FloatType >::FloatingEq2Matcher ( bool nan_eq_nan)
inlineexplicit

Definition at line 2246 of file gmock-matchers.h.

2246{ Init(-1, nan_eq_nan); }

◆ FloatingEq2Matcher() [3/4]

template<typename FloatType >
testing::internal::FloatingEq2Matcher< FloatType >::FloatingEq2Matcher ( FloatType max_abs_error)
inlineexplicit

Definition at line 2248 of file gmock-matchers.h.

2248 {
2249 Init(max_abs_error, false);
2250 }

◆ FloatingEq2Matcher() [4/4]

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

Definition at line 2252 of file gmock-matchers.h.

2252 {
2253 Init(max_abs_error, nan_eq_nan);
2254 }

Member Function Documentation

◆ operator Matcher< ::testing::tuple< T1, T2 > >()

template<typename FloatType >
template<typename T1 , typename T2 >
testing::internal::FloatingEq2Matcher< FloatType >::operator Matcher< ::testing::tuple< T1, T2 > > ( ) const
inline

Definition at line 2257 of file gmock-matchers.h.

2257 {
2258 return MakeMatcher(
2259 new Impl< ::testing::tuple<T1, T2> >(max_abs_error_, nan_eq_nan_));
2260 }
Matcher< T > MakeMatcher(const MatcherInterface< T > *impl)
Here is the call graph for this function:

◆ operator Matcher< const ::testing::tuple< T1, T2 > & >()

template<typename FloatType >
template<typename T1 , typename T2 >
testing::internal::FloatingEq2Matcher< FloatType >::operator Matcher< const ::testing::tuple< T1, T2 > & > ( ) const
inline

Definition at line 2262 of file gmock-matchers.h.

2262 {
2263 return MakeMatcher(
2264 new Impl<const ::testing::tuple<T1, T2>&>(max_abs_error_, nan_eq_nan_));
2265 }
Here is the call graph for this function:

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