|
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. | |
| prec_t | evaluated = get_nan<prec_t>() |
| Evaluated value. | |
| prec_t | expected = get_nan<prec_t>() |
| Expected value. | |
| prec_t | difference = get_nan<prec_t>() |
| Evaluated difference between expected and evaluated values. | |
| std::map< std::string, prec_t > | additionalFields {} |
| Additional fields by name, as a floating point value. | |
| prec_t | 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.