Inherits gmx::test::anonymous_namespace{splinetable.cpp}::SplineTableTestBase.
template<typename T>
class gmx::test::anonymous_namespace{splinetable.cpp}::SplineTableTest< T >
Test fixture for table comparision with analytical/numerical functions.
|
void | setTolerance (real tol) |
| Set a new tolerance to be used in table function comparison. More...
|
|
template<int numFuncInTable = 1, int funcIndex = 0> |
void | testSplineTableAgainstFunctions (const std::string &desc, const std::function< double(double)> &refFunc, const std::function< double(double)> &refDer, const T &table, const std::pair< real, real > &testRange) |
| Assertion predicate formatter for comparing table with function/derivative. More...
|
|
|
static int | s_testPoints_ = 100 |
| Number of points to use. Public so we can set it as option.
|
|
template<typename T >
void gmx::test::anonymous_namespace{splinetable.cpp}::SplineTableTest< T >::setTolerance |
( |
real |
tol | ) |
|
|
inline |
Set a new tolerance to be used in table function comparison.
- Parameters
-
template<class T >
template<int numFuncInTable, int funcIndex>
void gmx::test::anonymous_namespace{splinetable.cpp}::SplineTableTest< T >::testSplineTableAgainstFunctions |
( |
const std::string & |
desc, |
|
|
const std::function< double(double)> & |
refFunc, |
|
|
const std::function< double(double)> & |
refDer, |
|
|
const T & |
table, |
|
|
const std::pair< real, real > & |
testRange |
|
) |
| |
Assertion predicate formatter for comparing table with function/derivative.
The documentation for this class was generated from the following file: