FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Catch::Matchers::Floating::WithinAbsMatcher Struct Reference
Inheritance diagram for Catch::Matchers::Floating::WithinAbsMatcher:

Public Member Functions

 WithinAbsMatcher (double target, double margin)
 
bool match (double const &matchee) const override
 
std::string describe () const override
 

Private Attributes

double m_target
 
double m_margin
 

Constructor & Destructor Documentation

Catch::Matchers::Floating::WithinAbsMatcher::WithinAbsMatcher ( double  target,
double  margin 
)

Member Function Documentation

std::string Catch::Matchers::Floating::WithinAbsMatcher::describe ( ) const
override
bool Catch::Matchers::Floating::WithinAbsMatcher::match ( double const &  matchee) const
override

Field Documentation

double Catch::Matchers::Floating::WithinAbsMatcher::m_margin
private
double Catch::Matchers::Floating::WithinAbsMatcher::m_target
private