Sequoia
Loading...
Searching...
No Matches
Classes | Functions
BinaryRelationships.hpp File Reference

Utilities for performing checks with respect to a binary operator. More...

#include "sequoia/TestFramework/Output.hpp"
#include <cmath>
#include <functional>

Go to the source code of this file.

Classes

struct  sequoia::testing::failure_reporter< Compare >
 Specialize this struct template to provide custom reporting for comparisons performed with a binary operator. More...
 
class  sequoia::testing::within_tolerance< ToleranceType >
 Function object for performing comparisons within an absolute tolerance. More...
 
struct  sequoia::testing::failure_reporter< within_tolerance< T > >
 
struct  sequoia::testing::failure_reporter< std::ranges::equal_to >
 
struct  sequoia::testing::failure_reporter< std::ranges::less >
 
struct  sequoia::testing::failure_reporter< std::ranges::less_equal >
 
struct  sequoia::testing::failure_reporter< std::ranges::greater >
 
struct  sequoia::testing::failure_reporter< std::ranges::greater_equal >
 

Functions

template<class T >
std::string sequoia::testing::relational_failure_message (std::string symbol, const T &obtained, const T &prediction)
 

Detailed Description

Utilities for performing checks with respect to a binary operator.

This header provides utilities for performing a comparison between two instances of a type utilising a function object. Each such type must specialize failure_reporter.