| #define TTS_ABSOLUTE_EQUAL | ( | L, | |
| R, | |||
| N, | |||
| ... | |||
| ) | TTS_PRECISION(L,R,N,"unit", ::tts::absolute_distance, 8, __VA_ARGS__ ) |
Checks if the absolute distance between values is less or equal to a threshold.
This comparison is performed by using the proper tts::absolute_distance overload.
| L,R | Expressions to compare. |
| N | Maximum absolute distance accepted between L and R. |
| ... | Optional tag. If equals to REQUIRED, this test will stop the program if it fails. |