mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-28 16:29:56 +00:00
13 lines
299 B
C
13 lines
299 B
C
#ifndef __TEST_UTIL_H__
|
|
#define __TEST_UTIL_H__
|
|
|
|
#ifdef ASSERT
|
|
#undef ASSERT
|
|
#endif
|
|
#define ASSERT(x) if (!(x)) { \
|
|
printf("%s: ASSERT %s failed\n", __FUNCTION__, #x); \
|
|
abort(); \
|
|
}
|
|
|
|
#endif // __TEST_UTIL_H__
|