Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
CompareFads Struct Reference

#include <GTestUtils.hpp>

Public Member Functions

 CompareFads (double tol_a, double tol_r)
 
template<typename FadType1 , typename FadType2 >
bool operator() (const FadType1 &a, const FadType2 &b)
 
template<typename FadType1 , typename FadType2 >
::testing::AssertionResult operator() (const char *a_expr, const char *b_expr, const FadType1 &a, const FadType2 &b)
 

Public Attributes

CompareFloats cmp
 

Detailed Description

Definition at line 25 of file GTestUtils.hpp.

Constructor & Destructor Documentation

CompareFads::CompareFads ( double  tol_a,
double  tol_r 
)
inline

Definition at line 29 of file GTestUtils.hpp.

Member Function Documentation

template<typename FadType1 , typename FadType2 >
bool CompareFads::operator() ( const FadType1 &  a,
const FadType2 &  b 
)
inline

Definition at line 32 of file GTestUtils.hpp.

template<typename FadType1 , typename FadType2 >
::testing::AssertionResult CompareFads::operator() ( const char *  a_expr,
const char *  b_expr,
const FadType1 &  a,
const FadType2 &  b 
)
inline

Definition at line 45 of file GTestUtils.hpp.

Member Data Documentation

CompareFloats CompareFads::cmp

Definition at line 27 of file GTestUtils.hpp.


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