An integer determining the level of verbosity. If 0, an error
is generated, if any of the tests fails. Otherwise, only the result of the
test is printed.
timed
Logical. Whether the time usage should be printed.
Value
The functions have no output value. The result OK or FAILED is printed.
Details
Functions testCoreClass(), testCoreAttrEval(), testCoreReg() run
functions CoreModel(), predict.CoreModel(), modelEval(), and
attrEval() and perform a partial check of the obtained results.
Function testNA() performs a test of consistency NA and NaN between R and CORElearn.
Functions testCoreRPORT() and testCoreRand() test, whether the
R_PORT directive is defined in C code and whether R random number
generator is used. These tests are mostly for debugging.
Function allTests() calls all the above functions with verbose=0
and prints a table of the results.