TaggedOpenLibrary constants off by one fix.
[AROS.git] / test / clib / test.h
blobc36584699c24b68f869194203471b8a4b28e842a
1 /* Prototypes for mandatory functions */
2 void cleanup( void );
4 /* Return values */
5 #define OK 0 /* All tests succeded */
6 #define FAIL 5 /* Some of the tests failed */
8 /* Testing macro */
9 #define TEST(x) if( !x ) \
10 { \
11 printf( "Test FAILED in %s, line %d.\n", __FILE__, __LINE__ ); \
12 cleanup(); \
13 return FAIL; \