source: sources/test_regression/test.h @ 56

Last change on this file since 56 was 55, checked in by meunier, 11 years ago

Tried to clean the test_regression directory:

  • Code formatting
  • Supressed warnings
  • Made comprehensible outputs
  • Factorized Makefiles

There's still a lot to do (many tests don't pass for either good or bad reasons)

File size: 289 bytes
Line 
1
2#define ASSERT(x)                    \
3{                                    \
4    if (!(x)) {                      \
5        cerr << "assert failed line " << __LINE__ << ", file " << __FILE__ << ": #x\n"; \
6        exit(1);                     \
7    }                                \
8}
9
Note: See TracBrowser for help on using the repository browser.