Go to the source code of this file.
Defines | |
#define | START(s) vnl_test_start(s); |
#define | TEST(s, p, v) |
#define | TEST_RUN(s, x, p, v) |
#define | SUMMARY() vnl_test_summary(); |
#define | TESTMAIN(x) int x(int, char**) { vnl_test_start(#x); x(); return vnl_test_summary(); } |
#define | macro(T) void vnl_test_fill_random(T *begin, T *end) |
Functions | |
void | vnl_test_start (const char *name) |
void | vnl_test_begin (const char *msg) |
void | vnl_test_perform (int success) |
int | vnl_test_summary () |
void | vnl_test_assert (const vcl_string &msg, bool expr) |
void | vnl_test_assert_near (const vcl_string &msg, double expr, double target=0, double tol=1e-12) |
macro (float) | |
macro (double) | |
macro (long double) | |
macro (vcl_complex< float >) | |
macro (vcl_complex< double >) | |
macro (vcl_complex< long double >) |
Definition in file vnl_test.h.
|
Definition at line 70 of file vnl_test.h. |
|
Definition at line 46 of file vnl_test.h. |
|
Definition at line 61 of file vnl_test.h. |
|
Value: { \ vnl_test_begin(s); \ vnl_test_perform(p==v); \ } Definition at line 48 of file vnl_test.h. |
|
Value: { \ x; \ vnl_test_begin(s); \ vnl_test_perform(p==v); \ } Definition at line 54 of file vnl_test.h. |
|
Definition at line 65 of file vnl_test.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.
Texas Instruments Incorporated provides this software "as is" without express or implied warranty. |
|
|