FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Catch::Matchers Namespace Reference

Namespaces

 Floating
 
 Generic
 
 Impl
 
 StdString
 
 Vector
 

Functions

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

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)
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)
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 = "" 
)
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)
template<typename T >
Vector::ContainsElementMatcher<T> Catch::Matchers::VectorContains ( T const &  comparator)
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 
)