|
micro-test-plus 6.0.0
µTest++ Testing Framework
|
Deprecated concept satisfied when T is a framework floating-point wrapper with a tolerance. More...
#include <extension.h>
| T | The type to be checked. |
The has_epsilon concept is satisfied when T is a framework expression type (see is_op) with an epsilon member, like floating_point_constant and the floating-point specialisation of value<T>. The comparators treat the operands within this tolerance as equal; a custom comparator uses it to do the same.
The types of the application are excluded, even if they have a member named epsilon, so that they are compared with their own operators.
Only the deprecated floating-point wrappers have a tolerance, so the concept is deprecated with them, and is available only when MICRO_OS_PLUS_MICRO_TEST_PLUS_DEPRECATED_ENABLED is defined.
Definition at line 349 of file extension.h.