#include <l/l_sys_lib.h>
#include <l_cpp/l_exception.h>
Go to the source code of this file.
|
void | down_in_flames (const char *test_kind, const char *filename, int line_num, const char *bad_line) |
|
void | print_victory (const char *) |
|
#define DOWN_IN_FLAMES |
( |
|
tst, |
|
|
|
src |
|
) |
| down_in_flames( (tst), __FILE__, __LINE__, (src) ) |
#define RETURN_VICTORIOUSLY |
( |
| ) |
|
Value:
return EXIT_SUCCESS; \
} while( 0 )
void print_victory(const char *)
Definition: l_test.cpp:39
#define TEST_APPROX_EQUALITY |
( |
|
x, |
|
|
|
y |
|
) |
| |
Value:do { \
const
double a(
x), b(y);
\
if(!(
a==b || fabs(
a-b) <= (fabs(
a)+fabs(b))*0.005 )) \
} \
} while(0)
#define DOWN_IN_FLAMES(tst, src)
Definition: l_test.h:39
x
Definition: APPgetLargeConnectedEdges.m:100
#define TEST_FAIL |
( |
|
line | ) |
|
Value:do { \
bool assert_fail_failed = false; \
try { line; } \
{ \
\
\
assert_fail_failed = true; \
} \
catch(...) \
{ \
assert_fail_failed = true; \
if (!assert_fail_failed) \
} \
} while( 0 )
Object thrown when an index argument exceeds the size of a container.
Definition: l_exception.h:399
#define DOWN_IN_FLAMES(tst, src)
Definition: l_test.h:39
#define TEST_SUCCESS |
( |
|
line | ) |
|
Value:do { \
try { line; } \
catch(...) \
} \
} while ( 0 )
#define DOWN_IN_FLAMES(tst, src)
Definition: l_test.h:39
#define TEST_ZERO_WITH_TOLERANCE |
( |
|
z, |
|
|
|
t |
|
) |
| |
Value:
} \
} while(0)
#define DOWN_IN_FLAMES(tst, src)
Definition: l_test.h:39
void down_in_flames |
( |
const char * |
test_kind, |
|
|
const char * |
filename, |
|
|
int |
line_num, |
|
|
const char * |
bad_line |
|
) |
| |
void print_victory |
( |
const char * |
| ) |
|