| Index: runtime/platform/assert.h
|
| ===================================================================
|
| --- runtime/platform/assert.h (revision 20148)
|
| +++ runtime/platform/assert.h (working copy)
|
| @@ -267,6 +267,9 @@
|
|
|
| #define DEBUG_ASSERT(cond)
|
|
|
| +#endif // if defined(DEBUG)
|
| +
|
| +
|
| // The COMPILE_ASSERT macro can be used to verify that a compile time
|
| // expression is true. For example, you could use it to verify the
|
| // size of a static array:
|
| @@ -290,9 +293,7 @@
|
| typedef CompileAssert<(static_cast<bool>(expr))> \
|
| msg[static_cast<bool>(expr) ? 1 : -1]
|
|
|
| -#endif // if defined(DEBUG)
|
|
|
| -
|
| #if defined(TESTING)
|
| #define EXPECT(condition) \
|
| if (!(condition)) { \
|
|
|