#include <catch.hpp>
Public Member Functions | |
std::string | describe () const override |
bool | match (double const &matchee) const override |
WithinAbsMatcher (double target, double margin) | |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T > | |
MatchNotOf< T > | operator! () const |
MatchAllOf< T > | operator&& (MatcherBase const &other) const |
MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
MatcherUntypedBase ()=default | |
MatcherUntypedBase (MatcherUntypedBase const &)=default | |
MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
std::string | toString () const |
Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T > | |
virtual bool | match (T const &arg) const=0 |
Private Attributes | |
double | m_margin |
double | m_target |
Additional Inherited Members | |
Protected Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
virtual | ~MatcherUntypedBase () |
Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase | |
std::string | m_cachedToString |
Catch::Matchers::Floating::WithinAbsMatcher::WithinAbsMatcher | ( | double | target, |
double | margin | ||
) |
|
overridevirtual |
Implements Catch::Matchers::Impl::MatcherUntypedBase.
|
override |
|
private |
|
private |