Chebyshev
Unit testing for scientific software
fail.h File Reference

Default fail functions. More...

Go to the source code of this file.

Namespaces

 chebyshev
 General namespace of the framework.
 
 chebyshev::prec
 Precision testing module.
 
 chebyshev::prec::fail
 Fail functions for use in prec::estimate.
 

Functions

auto chebyshev::prec::fail::fail_on_max_err ()
 Default fail function which marks the test as failed if the maximum error on the domain is bigger than the tolerance.
 
auto chebyshev::prec::fail::fail_on_mean_err ()
 Marks the test as failed if the mean error on the domain is bigger than the tolerance or the error is NaN.
 
auto chebyshev::prec::fail::fail_on_rms_err ()
 Marks the test as failed if the RMS error on the domain is bigger than the tolerance or the error is NaN.
 
auto chebyshev::prec::fail::fail_on_rel_err ()
 Marks the test as failed if the relative error on the domain is bigger than the tolerance or the error is NaN.
 

Detailed Description

Default fail functions.