Namespaces | Functions
Catch::Matchers Namespace Reference

Namespaces

 Floating
 
 Generic
 
 Impl
 
 StdString
 
 Vector
 

Functions

StdString::ContainsMatcher Contains (std::string const &str, CaseSensitive::Choice caseSensitivity=CaseSensitive::Yes)
 
template<typename T >
Vector::ContainsMatcher< T > Contains (std::vector< T > const &comparator)
 
StdString::EndsWithMatcher EndsWith (std::string const &str, CaseSensitive::Choice caseSensitivity=CaseSensitive::Yes)
 
StdString::EqualsMatcher Equals (std::string const &str, CaseSensitive::Choice caseSensitivity=CaseSensitive::Yes)
 
template<typename T >
Vector::EqualsMatcher< T > Equals (std::vector< T > const &comparator)
 
StdString::RegexMatcher Matches (std::string const &regex, CaseSensitive::Choice caseSensitivity=CaseSensitive::Yes)
 
template<typename T >
Generic::PredicateMatcher< T > Predicate (std::function< bool(T const &)> const &predicate, std::string const &description="")
 
StdString::StartsWithMatcher StartsWith (std::string const &str, CaseSensitive::Choice caseSensitivity=CaseSensitive::Yes)
 
template<typename T >
Vector::UnorderedEqualsMatcher< T > UnorderedEquals (std::vector< T > const &target)
 
template<typename T >
Vector::ContainsElementMatcher< T > VectorContains (T const &comparator)
 
Floating::WithinAbsMatcher WithinAbs (double target, double margin)
 
Floating::WithinUlpsMatcher WithinULP (double target, int maxUlpDiff)
 
Floating::WithinUlpsMatcher WithinULP (float target, int maxUlpDiff)
 

Function Documentation

StdString::ContainsMatcher Catch::Matchers::Contains ( std::string const &  str,
CaseSensitive::Choice  caseSensitivity = CaseSensitive::Yes 
)
template<typename T >
Vector::ContainsMatcher<T> Catch::Matchers::Contains ( std::vector< T > const &  comparator)

Definition at line 2887 of file catch.hpp.

StdString::EndsWithMatcher Catch::Matchers::EndsWith ( std::string const &  str,
CaseSensitive::Choice  caseSensitivity = CaseSensitive::Yes 
)
StdString::EqualsMatcher Catch::Matchers::Equals ( std::string const &  str,
CaseSensitive::Choice  caseSensitivity = CaseSensitive::Yes 
)
template<typename T >
Vector::EqualsMatcher<T> Catch::Matchers::Equals ( std::vector< T > const &  comparator)

Definition at line 2897 of file catch.hpp.

StdString::RegexMatcher Catch::Matchers::Matches ( std::string const &  regex,
CaseSensitive::Choice  caseSensitivity = CaseSensitive::Yes 
)
template<typename T >
Generic::PredicateMatcher<T> Catch::Matchers::Predicate ( std::function< bool(T const &)> const &  predicate,
std::string const &  description = "" 
)

Definition at line 2660 of file catch.hpp.

StdString::StartsWithMatcher Catch::Matchers::StartsWith ( std::string const &  str,
CaseSensitive::Choice  caseSensitivity = CaseSensitive::Yes 
)
template<typename T >
Vector::UnorderedEqualsMatcher<T> Catch::Matchers::UnorderedEquals ( std::vector< T > const &  target)

Definition at line 2902 of file catch.hpp.

template<typename T >
Vector::ContainsElementMatcher<T> Catch::Matchers::VectorContains ( T const &  comparator)

Definition at line 2892 of file catch.hpp.

Floating::WithinAbsMatcher Catch::Matchers::WithinAbs ( double  target,
double  margin 
)
Floating::WithinUlpsMatcher Catch::Matchers::WithinULP ( double  target,
int  maxUlpDiff 
)
Floating::WithinUlpsMatcher Catch::Matchers::WithinULP ( float  target,
int  maxUlpDiff 
)


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