Chebyshev
Unit testing for scientific software
|
A structure holding the result of an evaluation. More...
#include <prec_structures.h>
Public Attributes | |
std::string | name = "unknown" |
Identifying name of the function or test case. | |
long double | evaluated = get_nan<long double>() |
Evaluated value. | |
long double | expected = get_nan<long double>() |
Expected value. | |
long double | difference = get_nan<long double>() |
Evaluated difference between expected and evaluated values. | |
std::map< std::string, long double > | additionalFields {} |
Additional fields by name, as a floating point value. | |
long double | tolerance = 0 |
Tolerance on the absolute difference. | |
bool | failed = true |
Whether the test failed. | |
bool | quiet = false |
Print to standard output or not. | |
A structure holding the result of an evaluation.