Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testing::gmock_matchers_test::FloatingPointNearTest< RawType > Class Template Reference
+ Inheritance diagram for testing::gmock_matchers_test::FloatingPointNearTest< RawType >:
+ Collaboration diagram for testing::gmock_matchers_test::FloatingPointNearTest< RawType >:

Protected Types

typedef FloatingPointTest
< RawType > 
ParentType
 
- Protected Types inherited from testing::gmock_matchers_test::FloatingPointTest< RawType >
typedef
testing::internal::FloatingPoint
< RawType > 
Floating
 
typedef Floating::Bits Bits
 

Protected Member Functions

void TestNearMatches (testing::internal::FloatingEqMatcher< RawType >(*matcher_maker)(RawType, RawType))
 
- Protected Member Functions inherited from testing::gmock_matchers_test::FloatingPointTest< RawType >
 FloatingPointTest ()
 
void TestSize ()
 
void TestMatches (testing::internal::FloatingEqMatcher< RawType >(*matcher_maker)(RawType))
 
- Protected Member Functions inherited from testing::Test
 Test ()
 
virtual void SetUp ()
 
virtual void TearDown ()
 

Additional Inherited Members

- Public Types inherited from testing::Test
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
 
typedef
internal::TearDownTestCaseFunc 
TearDownTestCaseFunc
 
- Public Member Functions inherited from testing::Test
virtual ~Test ()
 
- Static Public Member Functions inherited from testing::Test
static void SetUpTestCase ()
 
static void TearDownTestCase ()
 
static bool HasFatalFailure ()
 
static bool HasNonfatalFailure ()
 
static bool HasFailure ()
 
static void RecordProperty (const std::string &key, const std::string &value)
 
static void RecordProperty (const std::string &key, int value)
 
- Protected Attributes inherited from testing::gmock_matchers_test::FloatingPointTest< RawType >
const size_t max_ulps_
 
const Bits zero_bits_
 
const Bits one_bits_
 
const Bits infinity_bits_
 
const RawType close_to_positive_zero_
 
const RawType close_to_negative_zero_
 
const RawType further_from_negative_zero_
 
const RawType close_to_one_
 
const RawType further_from_one_
 
const RawType infinity_
 
const RawType close_to_infinity_
 
const RawType further_from_infinity_
 
const RawType max_
 
const RawType nan1_
 
const RawType nan2_
 

Detailed Description

template<typename RawType>
class testing::gmock_matchers_test::FloatingPointNearTest< RawType >

Definition at line 2817 of file gmock-matchers_test.cc.

View newest version in sPHENIX GitHub at line 2817 of file gmock-matchers_test.cc

Member Typedef Documentation

template<typename RawType >
typedef FloatingPointTest<RawType> testing::gmock_matchers_test::FloatingPointNearTest< RawType >::ParentType
protected

Definition at line 2819 of file gmock-matchers_test.cc.

View newest version in sPHENIX GitHub at line 2819 of file gmock-matchers_test.cc

Member Function Documentation

template<typename RawType >
void testing::gmock_matchers_test::FloatingPointNearTest< RawType >::TestNearMatches ( testing::internal::FloatingEqMatcher< RawType >(*)(RawType, RawType)  matcher_maker)
inlineprotected

Definition at line 2823 of file gmock-matchers_test.cc.

View newest version in sPHENIX GitHub at line 2823 of file gmock-matchers_test.cc

References EXPECT_FALSE, EXPECT_TRUE, testing::internal::MatcherBase< T >::Matches(), max_, and ambiguity_solver_full_chain::x.

+ Here is the call graph for this function:


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