#define TTS_ALL_RELATIVE_EQUAL | ( | L, | |
R, | |||
N, | |||
... | |||
) | TTS_ALL(L,R, ::tts::relative_distance,N,"%" , __VA_ARGS__ ) |
Checks if all elements of two sequences are within a given relative percentage and that their sizes are equal.
This comparison is performed by using the proper tts::relative_distance overload.
L,R | Sequences to compare. |
N | Maximum relative percentage accepted between L and R . |
... | Optional tag. If equals to REQUIRED , this test will stop the program if it fails. |