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

◆ Contains() [1/2]

StdString::ContainsMatcher Catch::Matchers::Contains ( std::string const &  str,
CaseSensitive::Choice  caseSensitivity = CaseSensitive::Yes 
)

◆ Contains() [2/2]

template<typename T >
Vector::ContainsMatcher<T> Catch::Matchers::Contains ( std::vector< T > const &  comparator)

Definition at line 3346 of file catch.hpp.

◆ EndsWith()

StdString::EndsWithMatcher Catch::Matchers::EndsWith ( std::string const &  str,
CaseSensitive::Choice  caseSensitivity = CaseSensitive::Yes 
)

◆ Equals() [1/2]

StdString::EqualsMatcher Catch::Matchers::Equals ( std::string const &  str,
CaseSensitive::Choice  caseSensitivity = CaseSensitive::Yes 
)

◆ Equals() [2/2]

template<typename T >
Vector::EqualsMatcher<T> Catch::Matchers::Equals ( std::vector< T > const &  comparator)

Definition at line 3356 of file catch.hpp.

◆ Matches()

StdString::RegexMatcher Catch::Matchers::Matches ( std::string const &  regex,
CaseSensitive::Choice  caseSensitivity = CaseSensitive::Yes 
)

◆ Predicate()

template<typename T >
Generic::PredicateMatcher<T> Catch::Matchers::Predicate ( std::function< bool(T const &)> const &  predicate,
std::string const &  description = "" 
)

Definition at line 3119 of file catch.hpp.

◆ StartsWith()

StdString::StartsWithMatcher Catch::Matchers::StartsWith ( std::string const &  str,
CaseSensitive::Choice  caseSensitivity = CaseSensitive::Yes 
)

◆ UnorderedEquals()

template<typename T >
Vector::UnorderedEqualsMatcher<T> Catch::Matchers::UnorderedEquals ( std::vector< T > const &  target)

Definition at line 3361 of file catch.hpp.

◆ VectorContains()

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

Definition at line 3351 of file catch.hpp.

◆ WithinAbs()

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

◆ WithinULP() [1/2]

Floating::WithinUlpsMatcher Catch::Matchers::WithinULP ( double  target,
int  maxUlpDiff 
)

◆ WithinULP() [2/2]

Floating::WithinUlpsMatcher Catch::Matchers::WithinULP ( float  target,
int  maxUlpDiff 
)


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:03