Github User Fetcher 1.0.0
C Application with Server and GUI
|
Macros | |
#define | cr_assert_eq(Actual, Expected, FormatString, ...) internal |
#define | cr_expect_eq(Actual, Expected, FormatString, ...) internal |
#define | cr_assert_neq(Actual, Unexpected, FormatString, ...) internal |
#define | cr_expect_neq(Actual, Unexpected, FormatString, ...) internal |
#define | cr_assert_lt(Actual, Reference, FormatString, ...) internal |
#define | cr_expect_lt(Actual, Reference, FormatString, ...) internal |
#define | cr_assert_leq(Actual, Reference, FormatString, ...) internal |
#define | cr_expect_leq(Actual, Reference, FormatString, ...) internal |
#define | cr_assert_gt(Actual, Reference, FormatString, ...) internal |
#define | cr_expect_gt(Actual, Reference, FormatString, ...) internal |
#define | cr_assert_geq(Actual, Reference, FormatString, ...) internal |
#define | cr_expect_geq(Actual, Reference, FormatString, ...) internal |
#define cr_assert_eq | ( | Actual, | |
Expected, | |||
FormatString, | |||
... ) internal |
Passes if Actual is equal to Expected
Passes if Actual is 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.
[in] | Actual | Value to test |
[in] | Expected | Expected value |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_assert_geq | ( | Actual, | |
Reference, | |||
FormatString, | |||
... ) internal |
Passes if Actual is greater or equal to Reference
Passes if Actual is greater or equal to Reference. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
[in] | Actual | Value to test |
[in] | Reference | Reference value |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_assert_gt | ( | Actual, | |
Reference, | |||
FormatString, | |||
... ) internal |
Passes if Actual is greater than Reference
Passes if Actual is greater than Reference. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
[in] | Actual | Value to test |
[in] | Reference | Reference value |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_assert_leq | ( | Actual, | |
Reference, | |||
FormatString, | |||
... ) internal |
Passes if Actual is less or equal to Reference
Passes if Actual is less or equal to Reference. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
[in] | Actual | Value to test |
[in] | Reference | Reference value |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_assert_lt | ( | Actual, | |
Reference, | |||
FormatString, | |||
... ) internal |
Passes if Actual is less than Reference
Passes if Actual is less than Reference. Otherwise the test is marked as failure and the execution of the function is aborted.
The optional string is printed on failure.
[in] | Actual | Value to test |
[in] | Reference | Reference value |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_assert_neq | ( | Actual, | |
Unexpected, | |||
FormatString, | |||
... ) internal |
Passes if Actual is not equal to Unexpected
Passes if Actual is not 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.
#define cr_expect_eq | ( | Actual, | |
Expected, | |||
FormatString, | |||
... ) internal |
Passes if Actual is equal to Expected
Passes if Actual is equal to Expected. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
[in] | Actual | Value to test |
[in] | Expected | Expected value |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect_geq | ( | Actual, | |
Reference, | |||
FormatString, | |||
... ) internal |
Passes if Actual is greater or equal to Reference
Passes if Actual is greater or equal to Reference. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
[in] | Actual | Value to test |
[in] | Reference | Reference value |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect_gt | ( | Actual, | |
Reference, | |||
FormatString, | |||
... ) internal |
Passes if Actual is greater than Reference
Passes if Actual is greater than Reference. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
[in] | Actual | Value to test |
[in] | Reference | Reference value |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect_leq | ( | Actual, | |
Reference, | |||
FormatString, | |||
... ) internal |
Passes if Actual is less or equal to Reference
Passes if Actual is less or equal to Reference. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
[in] | Actual | Value to test |
[in] | Reference | Reference value |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect_lt | ( | Actual, | |
Reference, | |||
FormatString, | |||
... ) internal |
Passes if Actual is less than Reference
Passes if Actual is less than Reference. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.
[in] | Actual | Value to test |
[in] | Reference | Reference value |
[in] | FormatString | (optional) printf-like format string |
[in] | ... | (optional) format string parameters |
#define cr_expect_neq | ( | Actual, | |
Unexpected, | |||
FormatString, | |||
... ) internal |
Passes if Actual is not equal to Unexpected
Passes if Actual is not equal to Unexpected. Otherwise the test is marked as failure but the execution will continue.
The optional string is printed on failure.