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
CompareFloats Struct Reference

#include <GTestUtils.hpp>

Public Member Functions

 CompareFloats (double tol_a_, double tol_r_)
 
template<typename ScalarType >
bool operator() (const ScalarType &a, const ScalarType &b)
 

Public Attributes

double tol_a
 
double tol_r
 

Detailed Description

Definition at line 13 of file GTestUtils.hpp.

Constructor & Destructor Documentation

CompareFloats::CompareFloats ( double  tol_a_,
double  tol_r_ 
)
inline

Definition at line 17 of file GTestUtils.hpp.

Member Function Documentation

template<typename ScalarType >
bool CompareFloats::operator() ( const ScalarType &  a,
const ScalarType &  b 
)
inline

Definition at line 20 of file GTestUtils.hpp.

Member Data Documentation

double CompareFloats::tol_a

Definition at line 15 of file GTestUtils.hpp.

double CompareFloats::tol_r

Definition at line 15 of file GTestUtils.hpp.


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