Public Member Functions | Private Attributes | List of all members
Catch::Matchers::Floating::WithinAbsMatcher Struct Reference

#include <catch.hpp>

Inheritance diagram for Catch::Matchers::Floating::WithinAbsMatcher:
Inheritance graph
[legend]

Public Member Functions

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

Private Attributes

double m_margin
 
double m_target
 

Detailed Description

Definition at line 2589 of file catch.hpp.

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

Member Data Documentation

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

Definition at line 2595 of file catch.hpp.

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

Definition at line 2594 of file catch.hpp.


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


catch_ros
Author(s): Max Schwarz
autogenerated on Thu Jan 14 2021 03:32:26