mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-27 07:29:32 +00:00
15 lines
338 B
C
15 lines
338 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(); \
|
|
}
|
|
|
|
#define MIN(a,b) ((a) > (b) ? (b) : (a))
|
|
|
|
#endif // __TEST_UTIL_H__
|