tts v2.3.0
The Tiny Test System
 
Loading...
Searching...
No Matches

◆ TTS_RELATION_BASE

#define TTS_RELATION_BASE (   A,
  B,
  OP,
  T,
  F,
  FAILURE 
)
Value:
if( ::tts::detail::OP(local_tts_a,local_tts_b) ) \
{ \
::tts::global_runtime.pass(); return ::tts::detail::logger{false}; \
} \
else \
{ \
FAILURE ( "Expression: " << TTS_STRING(A) << " " T " " << TTS_STRING(B) \
<< " is false because: " << ::tts::as_string(local_tts_a) \
<< " " F " " << ::tts::as_string(local_tts_b) \
); \
return ::tts::detail::logger{}; \
} \
std::string as_string(T const &e)
Value-to-string conversion.
Definition: as_string.hpp:61

TTS - Tiny Test System Copyright : TTS Contributors & Maintainers SPDX-License-Identifier: BSL-1.0