Go to the source code of this file.
|
| #define | cmpCOND(exp, trueRes, falseRes) ( (exp) ? (trueRes) : (falseRes) ) |
| |
| #define | ERREXP(exp, errfn, text) cmpCOND((exp), ((void)0), errfn(__FILE__,__LINE__,text)) |
| |
| #define | ASSERT(exp) ERREXP(exp,dirac_assert,NULL) |
| |
| #define | ASSERTM(exp, text) ERREXP(exp,dirac_assert,text) |
| |
| #define | TEST(exp) |
| |
| #define | TESTM(exp, text) |
| |
| #define | REPORT(exp) ERREXP(exp,dirac_report,NULL) |
| |
| #define | REPORTM(exp, text) ERREXP(exp,dirac_report,text) |
| |
◆ ASSERT
| #define ASSERT |
( |
|
exp | ) |
ERREXP(exp,dirac_assert,NULL) |
◆ ASSERTM
| #define ASSERTM |
( |
|
exp, |
|
|
|
text |
|
) |
| ERREXP(exp,dirac_assert,text) |
◆ cmpCOND
| #define cmpCOND |
( |
|
exp, |
|
|
|
trueRes, |
|
|
|
falseRes |
|
) |
| ( (exp) ? (trueRes) : (falseRes) ) |
◆ ERREXP
| #define ERREXP |
( |
|
exp, |
|
|
|
errfn, |
|
|
|
text |
|
) |
| cmpCOND((exp), ((void)0), errfn(__FILE__,__LINE__,text)) |
◆ REPORT
| #define REPORT |
( |
|
exp | ) |
ERREXP(exp,dirac_report,NULL) |
◆ REPORTM
| #define REPORTM |
( |
|
exp, |
|
|
|
text |
|
) |
| ERREXP(exp,dirac_report,text) |
◆ TEST
◆ TESTM
| #define TESTM |
( |
|
exp, |
|
|
|
text |
|
) |
| |