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

Constructor & Destructor Documentation

◆ CompareFloats()

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

Definition at line 37 of file GTestUtils.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 40 of file GTestUtils.hpp.

Member Data Documentation

◆ tol_a

double CompareFloats::tol_a

Definition at line 35 of file GTestUtils.hpp.

◆ tol_r

double CompareFloats::tol_r

Definition at line 35 of file GTestUtils.hpp.


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