GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
Catch::Matchers Namespace Reference

Namespaces

namespace  Impl
namespace  Floating
namespace  Generic
namespace  StdString
namespace  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

◆ Contains() [1/2]

StdString::ContainsMatcher Catch::Matchers::Contains ( std::string const & str,
CaseSensitive::Choice caseSensitivity = CaseSensitive::Yes )
Here is the caller graph for this function:

◆ Contains() [2/2]

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

◆ EndsWith()

StdString::EndsWithMatcher Catch::Matchers::EndsWith ( std::string const & str,
CaseSensitive::Choice caseSensitivity = CaseSensitive::Yes )
Here is the caller graph for this function:

◆ Equals() [1/2]

StdString::EqualsMatcher Catch::Matchers::Equals ( std::string const & str,
CaseSensitive::Choice caseSensitivity = CaseSensitive::Yes )
Here is the caller graph for this function:

◆ Equals() [2/2]

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

◆ Matches()

StdString::RegexMatcher Catch::Matchers::Matches ( std::string const & regex,
CaseSensitive::Choice caseSensitivity = CaseSensitive::Yes )
Here is the caller graph for this function:

◆ Predicate()

template<typename T>
Generic::PredicateMatcher< T > Catch::Matchers::Predicate ( std::function< bool(T const &)> const & predicate,
std::string const & description = "" )
Here is the caller graph for this function:

◆ StartsWith()

StdString::StartsWithMatcher Catch::Matchers::StartsWith ( std::string const & str,
CaseSensitive::Choice caseSensitivity = CaseSensitive::Yes )
Here is the caller graph for this function:

◆ UnorderedEquals()

template<typename T>
Vector::UnorderedEqualsMatcher< T > Catch::Matchers::UnorderedEquals ( std::vector< T > const & target)
Here is the caller graph for this function:

◆ VectorContains()

template<typename T>
Vector::ContainsElementMatcher< T > Catch::Matchers::VectorContains ( T const & comparator)
Here is the caller graph for this function:

◆ WithinAbs()

Floating::WithinAbsMatcher Catch::Matchers::WithinAbs ( double target,
double margin )
Here is the caller graph for this function:

◆ WithinULP() [1/2]

Floating::WithinUlpsMatcher Catch::Matchers::WithinULP ( double target,
int maxUlpDiff )
Here is the caller graph for this function:

◆ WithinULP() [2/2]

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