Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/external_packages/googletest/googlemock/include/gmock/gmock-matchers.h>
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 |
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_ |
Definition at line 1914 of file gmock-matchers.h.
View newest version in sPHENIX GitHub at line 1914 of file gmock-matchers.h
|
inline |
Definition at line 1916 of file gmock-matchers.h.
View newest version in sPHENIX GitHub at line 1916 of file gmock-matchers.h
|
inlinevirtual |
Reimplemented from testing::MatcherDescriberInterface.
Definition at line 1977 of file gmock-matchers.h.
View newest version in sPHENIX GitHub at line 1977 of file gmock-matchers.h
References testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::expected_, testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::HasMaxAbsError(), testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::max_abs_error_, and testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::nan_eq_nan_.
|
inlinevirtual |
Implements testing::MatcherDescriberInterface.
Definition at line 1956 of file gmock-matchers.h.
View newest version in sPHENIX GitHub at line 1956 of file gmock-matchers.h
References testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::expected_, testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::HasMaxAbsError(), testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::max_abs_error_, and testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::nan_eq_nan_.
|
private |
|
inlineprivate |
Definition at line 1998 of file gmock-matchers.h.
View newest version in sPHENIX GitHub at line 1998 of file gmock-matchers.h
References testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::max_abs_error_.
Referenced by testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::DescribeNegationTo(), testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::DescribeTo(), and testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::MatchAndExplain().
|
inlinevirtual |
Implements testing::MatcherInterface< T >.
Definition at line 1921 of file gmock-matchers.h.
View newest version in sPHENIX GitHub at line 1921 of file gmock-matchers.h
References parse_cmake_options::actual, testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::expected_, testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::HasMaxAbsError(), testing::internal::FloatingPoint< RawType >::is_nan(), testing::MatchResultListener::IsInterested(), testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::max_abs_error_, and testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::nan_eq_nan_.
|
private |
Definition at line 2002 of file gmock-matchers.h.
View newest version in sPHENIX GitHub at line 2002 of file gmock-matchers.h
Referenced by testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::DescribeNegationTo(), testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::DescribeTo(), and testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::MatchAndExplain().
|
private |
Definition at line 2005 of file gmock-matchers.h.
View newest version in sPHENIX GitHub at line 2005 of file gmock-matchers.h
Referenced by testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::DescribeNegationTo(), testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::DescribeTo(), testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::HasMaxAbsError(), and testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::MatchAndExplain().
|
private |
Definition at line 2003 of file gmock-matchers.h.
View newest version in sPHENIX GitHub at line 2003 of file gmock-matchers.h
Referenced by testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::DescribeNegationTo(), testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::DescribeTo(), and testing::internal::FloatingEqMatcher< FloatType >::Impl< T >::MatchAndExplain().