mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 20:35:39 +01:00
Write documentation for TEST_ASSERT
This commit is contained in:
parent
2d7926674d
commit
1b20be59e2
@ -97,6 +97,14 @@ typedef enum
|
|||||||
* This macro is not suitable for negative parameter validation tests,
|
* This macro is not suitable for negative parameter validation tests,
|
||||||
* as it assumes the test step will not create an error.
|
* as it assumes the test step will not create an error.
|
||||||
*
|
*
|
||||||
|
* Failing the test means:
|
||||||
|
* - Mark this test case as failed.
|
||||||
|
* - Print a message identifying the failure.
|
||||||
|
* - Jump to the \c exit label.
|
||||||
|
*
|
||||||
|
* This macro expands to an instruction, not an expression.
|
||||||
|
* It may jump to the \c exit label.
|
||||||
|
*
|
||||||
* \param TEST The test expression to be tested.
|
* \param TEST The test expression to be tested.
|
||||||
*/
|
*/
|
||||||
#define TEST_ASSERT( TEST ) \
|
#define TEST_ASSERT( TEST ) \
|
||||||
|
Loading…
Reference in New Issue
Block a user