version 1.6, 2006/01/30 16:17:07
|
version 1.7, 2006/11/10 18:14:58
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Jim Wunderlich, (Jim_Wunderlich@prodigy.net) |
|
// |
|
// Modified By: |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
#ifndef Pegasus_Assert_h | #ifndef Pegasus_Assert_h |
#define Pegasus_Assert_h | #define Pegasus_Assert_h |
|
|
{ \ | { \ |
if (!(COND)) \ | if (!(COND)) \ |
{ \ | { \ |
printf("PEGASUS_TEST_ASSERT failed in file %s at line %d\n",__FILE__, __LINE__); \ |
printf("PEGASUS_TEST_ASSERT failed in file %s at line %d\n", \ |
|
__FILE__, __LINE__); \ |
abort(); \ | abort(); \ |
} \ | } \ |
} while (0) | } while (0) |