#include <stdio.h>
#include <assert.h>
-typedef int (*test_function) (void);
+typedef int (*test_function)(void);
-typedef struct __test_item
-{
+typedef struct __test_item {
char menu_string[80];
char description[128];
test_function func;
} test_item_t;
#define RADIO_TEST__(x_test) \
- ret = x_test \
- if ( ! ret ) \
- { \
- printf("PASS : %s -- %s:%d\n", #x_test, __FILE__, __LINE__); \
- } \
- else \
- { \
- printf("FAIL : %s ERR-CODE : 0x%x -- %s:%d\n", #x_test, ret, __FILE__, __LINE__); \
- }
+ ret = x_test \
+ if ( ! ret ) \
+ { \
+ printf("PASS : %s -- %s:%d\n", #x_test, __FILE__, __LINE__); \
+ } \
+ else \
+ { \
+ printf("FAIL : %s ERR-CODE : 0x%x -- %s:%d\n", #x_test, ret, __FILE__, __LINE__); \
+ }
#endif /* MM_RADIO_TEST_TYPE_H_ */