Github User Fetcher 1.0.0
C Application with Server and GUI
|
Macros | |
#define | cr_assert_arr_eq(Actual, Expected, Size, FormatString, ...) internal |
#define | cr_expect_arr_eq(Actual, Expected, Size, FormatString, ...) internal |
#define | cr_assert_arr_neq(Actual, Unexpected, Size, FormatString, ...) internal |
#define | cr_expect_arr_neq(Actual, Unexpected, Size, FormatString, ...) internal |
#define cr_assert_arr_eq | ( | Actual, | |
Expected, | |||
Size, | |||
FormatString, | |||
... ) internal |
Passes if Actual is byte-to-byte equal to Expected
Passes if Actual is byte-to-byte equal to Expected. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
cr_assert_arr_eq_cmp()
instead.[in] | Actual | Array to test |
[in] | Expected | Expected array |
[in] | Size | Number of bytes to check |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_assert_arr_neq | ( | Actual, | |
Unexpected, | |||
Size, | |||
FormatString, | |||
... ) internal |
Passes if Actual is not byte-to-byte equal to Expected
Passes if Actual is not byte-to-byte equal to Unexpected. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
cr_assert_arr_neq_cmp()
instead.[in] | Actual | Array to test |
[in] | Unexpected | Unexpected array |
[in] | Size | Number of bytes to check |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect_arr_eq | ( | Actual, | |
Expected, | |||
Size, | |||
FormatString, | |||
... ) internal |
Passes if Actual is byte-to-byte equal to Expected
Passes if Actual is byte-to-byte equal to Expected. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
cr_expect_arr_eq_cmp()
instead.[in] | Actual | Array to test |
[in] | Expected | Expected array |
[in] | Size | Number of bytes to check |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect_arr_neq | ( | Actual, | |
Unexpected, | |||
Size, | |||
FormatString, | |||
... ) internal |
Passes if Actual is not byte-to-byte equal to Unexpected
Passes if Actual is not byte-to-byte equal to Expected. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
cr_expect_arr_neq_cmp()
instead.[in] | Actual | Array to test |
[in] | Unexpected | Unexpected array |
[in] | Size | Number of bytes to check |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |