Namespaces | Functions
Catch::Matchers Namespace Reference

Namespaces

 Exception
 
 Floating
 
 Generic
 
 Impl
 
 StdString
 
 Vector
 

Functions

template<typename T , typename AllocComp = std::allocator<T>, typename AllocMatch = AllocComp>
Vector::ApproxMatcher< T, AllocComp, AllocMatch > Approx (std::vector< T, AllocComp > const &comparator)
 
StdString::ContainsMatcher Contains (std::string const &str, CaseSensitive::Choice caseSensitivity=CaseSensitive::Yes)
 
template<typename T , typename AllocComp = std::allocator<T>, typename AllocMatch = AllocComp>
Vector::ContainsMatcher< T, AllocComp, AllocMatch > Contains (std::vector< T, AllocComp > 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 , typename AllocComp = std::allocator<T>, typename AllocMatch = AllocComp>
Vector::EqualsMatcher< T, AllocComp, AllocMatch > Equals (std::vector< T, AllocComp > const &comparator)
 
StdString::RegexMatcher Matches (std::string const &regex, CaseSensitive::Choice caseSensitivity=CaseSensitive::Yes)
 
Exception::ExceptionMessageMatcher Message (std::string const &message)
 
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 , typename AllocComp = std::allocator<T>, typename AllocMatch = AllocComp>
Vector::UnorderedEqualsMatcher< T, AllocComp, AllocMatch > UnorderedEquals (std::vector< T, AllocComp > const &target)
 
template<typename T , typename Alloc = std::allocator<T>>
Vector::ContainsElementMatcher< T, Alloc > VectorContains (T const &comparator)
 
Floating::WithinAbsMatcher WithinAbs (double target, double margin)
 
Floating::WithinRelMatcher WithinRel (double target, double eps)
 
Floating::WithinRelMatcher WithinRel (double target)
 
Floating::WithinRelMatcher WithinRel (float target, float eps)
 
Floating::WithinRelMatcher WithinRel (float target)
 
Floating::WithinUlpsMatcher WithinULP (double target, uint64_t maxUlpDiff)
 
Floating::WithinUlpsMatcher WithinULP (float target, uint64_t maxUlpDiff)
 

Function Documentation

template<typename T , typename AllocComp = std::allocator<T>, typename AllocMatch = AllocComp>
Vector::ApproxMatcher<T, AllocComp, AllocMatch> Catch::Matchers::Approx ( std::vector< T, AllocComp > const &  comparator)

Definition at line 3753 of file catch.hpp.

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

Definition at line 3738 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 , typename AllocComp = std::allocator<T>, typename AllocMatch = AllocComp>
Vector::EqualsMatcher<T, AllocComp, AllocMatch> Catch::Matchers::Equals ( std::vector< T, AllocComp > const &  comparator)

Definition at line 3748 of file catch.hpp.

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

Definition at line 3518 of file catch.hpp.

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

Definition at line 3758 of file catch.hpp.

template<typename T , typename Alloc = std::allocator<T>>
Vector::ContainsElementMatcher<T, Alloc> Catch::Matchers::VectorContains ( T const &  comparator)

Definition at line 3743 of file catch.hpp.

Floating::WithinAbsMatcher Catch::Matchers::WithinAbs ( double  target,
double  margin 
)
Floating::WithinRelMatcher Catch::Matchers::WithinRel ( double  target,
double  eps 
)
Floating::WithinRelMatcher Catch::Matchers::WithinRel ( double  target)
Floating::WithinRelMatcher Catch::Matchers::WithinRel ( float  target,
float  eps 
)
Floating::WithinRelMatcher Catch::Matchers::WithinRel ( float  target)
Floating::WithinUlpsMatcher Catch::Matchers::WithinULP ( double  target,
uint64_t  maxUlpDiff 
)
Floating::WithinUlpsMatcher Catch::Matchers::WithinULP ( float  target,
uint64_t  maxUlpDiff 
)


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:36