Go to the documentation of this file.
45 #define ASSERT(exp, mesg) \
49 TextOut(0, LCD_LINE1, "Critical assertion failed:"); \
50 TextOut(0, LCD_LINE2, mesg); \
60 #define WARNING(exp, mesg) \
64 TextOut(0, LCD_LINE1, "Warning assertion failed:"); \
65 TextOut(0, LCD_LINE2, mesg); \
68 #define ASSERT(x, mesg)
69 #define WARNING(x, mesg)
80 #define TEST(exp, mesg) \
84 TextOut(0, LCD_LINE1, "Test failed:"); \
85 TextOut(0, LCD_LINE2, mesg); \
95 ASSERT(1==2,
"1 is not equal to 2");
96 WARNING(1==2,
"1 is not equal to 2");
97 TEST(1==2,
"1 is not equal to 2");