sst-waveshapers
Waveshapers submodule for the Surge Synthesizer
Namespaces | Functions
Catch::Matchers Namespace Reference

Namespaces

 Exception
 
 Floating
 
 Generic
 
 Impl
 
 StdString
 
 Vector
 

Functions

Exception::ExceptionMessageMatcher Message (std::string const &message)
 
Floating::WithinUlpsMatcher WithinULP (double target, uint64_t maxUlpDiff)
 
Floating::WithinUlpsMatcher WithinULP (float target, uint64_t maxUlpDiff)
 
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)
 
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 , typename AllocComp = std::allocator<T>, typename AllocMatch = AllocComp>
Vector::ContainsMatcher< T, AllocComp, AllocMatch > Contains (std::vector< T, AllocComp > const &comparator)
 
template<typename T , typename Alloc = std::allocator<T>>
Vector::ContainsElementMatcher< T, Alloc > VectorContains (T const &comparator)
 
template<typename T , typename AllocComp = std::allocator<T>, typename AllocMatch = AllocComp>
Vector::EqualsMatcher< T, AllocComp, AllocMatch > Equals (std::vector< T, AllocComp > const &comparator)
 
template<typename T , typename AllocComp = std::allocator<T>, typename AllocMatch = AllocComp>
Vector::ApproxMatcher< T, AllocComp, AllocMatch > Approx (std::vector< T, AllocComp > const &comparator)
 
template<typename T , typename AllocComp = std::allocator<T>, typename AllocMatch = AllocComp>
Vector::UnorderedEqualsMatcher< T, AllocComp, AllocMatch > UnorderedEquals (std::vector< T, AllocComp > const &target)
 

Function Documentation

◆ Message()

Exception::ExceptionMessageMatcher Catch::Matchers::Message ( std::string const &  message)

◆ WithinULP() [1/2]

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

◆ WithinULP() [2/2]

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

◆ WithinAbs()

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

◆ WithinRel() [1/4]

Floating::WithinRelMatcher Catch::Matchers::WithinRel ( double  target,
double  eps 
)

◆ WithinRel() [2/4]

Floating::WithinRelMatcher Catch::Matchers::WithinRel ( double  target)

◆ WithinRel() [3/4]

Floating::WithinRelMatcher Catch::Matchers::WithinRel ( float  target,
float  eps 
)

◆ WithinRel() [4/4]

Floating::WithinRelMatcher Catch::Matchers::WithinRel ( float  target)

◆ Predicate()

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

◆ Equals() [1/2]

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

◆ Contains() [1/2]

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

◆ EndsWith()

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

◆ StartsWith()

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

◆ Matches()

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

◆ Contains() [2/2]

Vector::ContainsMatcher<T, AllocComp, AllocMatch> Catch::Matchers::Contains ( std::vector< T, AllocComp > const &  comparator)

◆ VectorContains()

Vector::ContainsElementMatcher<T, Alloc> Catch::Matchers::VectorContains ( T const &  comparator)

◆ Equals() [2/2]

Vector::EqualsMatcher<T, AllocComp, AllocMatch> Catch::Matchers::Equals ( std::vector< T, AllocComp > const &  comparator)

◆ Approx()

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

◆ UnorderedEquals()

Vector::UnorderedEqualsMatcher<T, AllocComp, AllocMatch> Catch::Matchers::UnorderedEquals ( std::vector< T, AllocComp > const &  target)