#ifndef _DDRAWTEST_H #define _DDRAWTEST_H #include #include #include #include #include #include #include #define TEST(x) \ if (x)\ {\ (*passed)++;\ } else {\ (*failed)++;\ printf("Test failed in %s:%d (%s)\n", __FILE__, __LINE__, #x);\ }; /* The type definitions */ typedef BOOL (*TESTPROC)(INT*, INT*); typedef struct tagTEST { const CHAR* Test; TESTPROC Proc; } TEST, *PTEST; extern TEST TestList[]; #endif /* _DDRAWTEST_H */ /* EOF */