spice/server/tests/test_util.h
Christophe Fergeau 5dd6932bf7 remove duplicated macro
MIN() is already defined in spice-protocol/spice/macros.h
2011-04-04 11:59:53 +02:00

13 lines
296 B
C

#ifndef __TEST_UTIL_H__
#define __TEST_UTIL_H__
#define TRUE 1
#define FALSE 0
#define ASSERT(x) if (!(x)) { \
printf("%s: ASSERT %s failed\n", __FUNCTION__, #x); \
abort(); \
}
#endif // __TEST_UTIL_H__