test_pso - Printing to stdout with <<TEST>> prefix
Example compile flags (system dependent):
-lKJB -lfftw3 -lgsl -lgslcblas -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lg2c -lncurses
const char *format_str,
This routine writes a formatted string to stdout with each lined prefixed
with <<TEST>>. Normally this routine is only used indirectly using the macro
TEST_PSO. Other behaviour is similar to pso. Specifically, it is similar to
kjb_fprintf with respect to extended formatting options and paging.
Return is void, as it is normally used with the TEST_PSO macro.
This routine is normally accessed using the macro TEST_PSO which sets
things up so that the printing only occurrs if TEST is defined. If TEST
is not defined, then TEST_PSO becomes nothing (IE, it is removed by the
pre-processor). TEST_PSO is used as follows:
TEST_PSO(( <format>, arg1, arg2, ....)); // Note DOUBLE parens!
More often than not, one is better off instead using test_pse() via the
pse, pso, kjb_fprintf
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.