1 
2 #define CHECK_STATUS(expected, actual) \
3     if((expected) != (actual))          \
4     {                               \
5         printf("\nERROR! File: %s Line: %d\n", __FILE__, __LINE__); \
6         printf("Expected: 0x%x, (%d) Got: 0x%x (%d)\n", (UINT)(expected), (INT)(expected), (UINT)(actual), (INT)(actual)); \
7         test_control_return(1); \
8     }
9