Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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 45 of file GTestUtils.hpp.

Constructor & Destructor Documentation

◆ CompareFads()

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

Definition at line 49 of file GTestUtils.hpp.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 52 of file GTestUtils.hpp.

◆ operator()() [2/2]

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 65 of file GTestUtils.hpp.

Member Data Documentation

◆ cmp

CompareFloats CompareFads::cmp

Definition at line 47 of file GTestUtils.hpp.


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