#ifndef TEST_H #define TEST_H #include #include extern void finished(void); extern void writehex(unsigned int code); extern void fail(unsigned int code); #define ASSERT(condition) \ do { if (!(condition)) fail(__LINE__); } while(0) #endif