|
micro-test-plus 6.0.0
µTest++ Testing Framework
|
Greater than tag for compare_op. More...
#include "micro-os-plus/micro-test-plus.h"
Static Public Member Functions | |
| template<class Lhs_T, class Rhs_T> | |
| static constexpr bool | apply (const Lhs_T &lhs, const Rhs_T &rhs) |
| Compares the operands with >. | |
Static Public Attributes | |
| static constexpr const char * | symbol = " > " |
| The operator symbol, as displayed in the failure reports. | |
| static constexpr bool | within_tolerance_result = false |
| Deprecated result when the operands are within the tolerance. | |
Defines the operator applied by compare_op, its symbol in the failure reports, and the result when the operands are within the tolerance of the floating-point wrappers.
|
staticnodiscardconstexpr |
Always inlined, also at -O0, so that the debug builds do not get one more function for each combination of operand types.
| Lhs_T | The type of the left-hand operand. |
| Rhs_T | The type of the right-hand operand. |
| lhs | The left-hand operand. |
| rhs | The right-hand operand. |
The using-declaration makes the standard operators visible to unqualified lookup, in addition to those found by argument-dependent lookup, and hides any operator> of the enclosing namespaces.
Definition at line 654 of file detail-inlines.h.
References micro_os_plus::micro_test_plus::detail::as_comparison_integer().
|
staticconstexpr |