diff options
| author | hathach <[email protected]> | 2013-05-13 23:18:56 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-05-13 23:18:56 +0700 |
| commit | 409ff2eaa3fb6c0c1c566b4d85be673189be7d3f (patch) | |
| tree | 8b1151c5f032a8faba13fcce22c86d9011d1f143 /tests/test/support | |
| parent | 706523ebff31ab1cbc0494bf331e8d9c5577a6c7 (diff) | |
refractor test
Diffstat (limited to 'tests/test/support')
| -rw-r--r-- | tests/test/support/type_helper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test/support/type_helper.h b/tests/test/support/type_helper.h index 9e73bc11a..f8d5090a0 100644 --- a/tests/test/support/type_helper.h +++ b/tests/test/support/type_helper.h @@ -66,6 +66,9 @@ for (uint32_t i=0; i<size; i++)\ TEST_ASSERT_EQUAL_HEX8(0, ((uint8_t*)buffer)[i]);\ }while(0) + +#define TEST_ASSERT_STATUS( actual )\ + TEST_ASSERT_EQUAL( TUSB_ERROR_NONE, (actual) ) #ifdef __cplusplus } #endif |
