Monero
Loading...
Searching...
No Matches
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 ()
 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
typedef internal::SetUpTestCaseFunc SetUpTestCaseFunc
typedef internal::TearDownTestCaseFunc TearDownTestCaseFunc
Public Member Functions inherited from testing::Test
virtual ~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)
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)

Member Typedef Documentation

◆ Bits

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

◆ Floating

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

Constructor & Destructor Documentation

◆ FloatingPointTest()

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

Member Function Documentation

◆ AsBits()

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

◆ TestMatches()

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

◆ TestSize()

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

Member Data Documentation

◆ close_to_infinity_

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

◆ close_to_negative_zero_

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

◆ close_to_one_

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

◆ close_to_positive_zero_

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

◆ further_from_infinity_

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

◆ further_from_negative_zero_

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

◆ further_from_one_

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

◆ infinity_

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

◆ infinity_bits_

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

◆ max_

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

◆ max_ulps_

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

◆ nan1_

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

◆ nan2_

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

◆ one_bits_

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

◆ zero_bits_

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

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