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

Protected Types

typedef
testing::internal::FloatingPoint
< RawType > 
Floating
 
typedef Floating::Bits Bits
 

Protected Member Functions

 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 ()
 

Protected Attributes

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_
 

Static Private Member Functions

template<typename T >
static RawType AsBits (T value)
 

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)
 

Detailed Description

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

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

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

Member Typedef Documentation

template<typename RawType >
typedef Floating::Bits testing::gmock_matchers_test::FloatingPointTest< RawType >::Bits
protected

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

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

template<typename RawType >
typedef testing::internal::FloatingPoint<RawType> testing::gmock_matchers_test::FloatingPointTest< RawType >::Floating
protected

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

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

Constructor & Destructor Documentation

template<typename RawType >
testing::gmock_matchers_test::FloatingPointTest< RawType >::FloatingPointTest ( )
inlineprotected

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

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

Member Function Documentation

template<typename RawType >
template<typename T >
static RawType testing::gmock_matchers_test::FloatingPointTest< RawType >::AsBits ( T  value)
inlinestaticprivate

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

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

References testing::internal::FloatingPoint< RawType >::ReinterpretBits().

+ Here is the call graph for this function:

template<typename RawType >
void testing::gmock_matchers_test::FloatingPointTest< RawType >::TestMatches ( testing::internal::FloatingEqMatcher< RawType >(*)(RawType)  matcher_maker)
inlineprotected

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

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

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

+ Here is the call graph for this function:

template<typename RawType >
void testing::gmock_matchers_test::FloatingPointTest< RawType >::TestSize ( )
inlineprotected

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

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

References EXPECT_EQ.

Member Data Documentation

template<typename RawType >
const RawType testing::gmock_matchers_test::FloatingPointTest< RawType >::close_to_infinity_
protected

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

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

template<typename RawType >
const RawType testing::gmock_matchers_test::FloatingPointTest< RawType >::close_to_negative_zero_
protected

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

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

template<typename RawType >
const RawType testing::gmock_matchers_test::FloatingPointTest< RawType >::close_to_one_
protected

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

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

template<typename RawType >
const RawType testing::gmock_matchers_test::FloatingPointTest< RawType >::close_to_positive_zero_
protected

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

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

template<typename RawType >
const RawType testing::gmock_matchers_test::FloatingPointTest< RawType >::further_from_infinity_
protected

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

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

template<typename RawType >
const RawType testing::gmock_matchers_test::FloatingPointTest< RawType >::further_from_negative_zero_
protected

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

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

template<typename RawType >
const RawType testing::gmock_matchers_test::FloatingPointTest< RawType >::further_from_one_
protected

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

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

template<typename RawType >
const RawType testing::gmock_matchers_test::FloatingPointTest< RawType >::infinity_
protected

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

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

template<typename RawType >
const Bits testing::gmock_matchers_test::FloatingPointTest< RawType >::infinity_bits_
protected

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

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

template<typename RawType >
const RawType testing::gmock_matchers_test::FloatingPointTest< RawType >::max_
protected

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

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

template<typename RawType >
const size_t testing::gmock_matchers_test::FloatingPointTest< RawType >::max_ulps_
protected

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

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

template<typename RawType >
const RawType testing::gmock_matchers_test::FloatingPointTest< RawType >::nan1_
protected

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

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

template<typename RawType >
const RawType testing::gmock_matchers_test::FloatingPointTest< RawType >::nan2_
protected

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

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

template<typename RawType >
const Bits testing::gmock_matchers_test::FloatingPointTest< RawType >::one_bits_
protected

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

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

template<typename RawType >
const Bits testing::gmock_matchers_test::FloatingPointTest< RawType >::zero_bits_
protected

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

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


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