|
tfel
|
Test based on the comparison of the solution to a reference file. More...
#include </home/runner/work/tfel/tfel/mtest/include/MTest/ReferenceFileComparisonTest.hxx>
Public Member Functions | |
| ReferenceFileComparisonTest (const tfel::utilities::TextData &, const unsigned int, const std::string &, const std::function< real(const CurrentState &)> &, const real) | |
| constructor | |
| ReferenceFileComparisonTest (const tfel::utilities::TextData &, const EvolutionManager &, const std::string &, const std::string &, const std::function< real(const CurrentState &)> &, const real) | |
| constructor | |
| ReferenceFileComparisonTest & | operator= (const ReferenceFileComparisonTest &)=delete |
| ReferenceFileComparisonTest & | operator= (ReferenceFileComparisonTest &&)=delete |
| void | check (const CurrentState &, const real, const real, const unsigned int) override |
| tfel::tests::TestResult | getResults () const override |
| ~ReferenceFileComparisonTest () override | |
| destructor | |
| Public Member Functions inherited from mtest::MTest::UTest | |
| virtual | ~UTest () |
| desctructor | |
Protected Attributes | |
| const std::vector< real > | values |
| reference values | |
| tfel::tests::TestResult | results |
| results of the test | |
| const std::string | name |
| variable name | |
| std::function< real(const CurrentState &)> | get |
| value getter | |
| const real | eps |
| criterium value | |
Test based on the comparison of the solution to a reference file.
| mtest::ReferenceFileComparisonTest::ReferenceFileComparisonTest | ( | const tfel::utilities::TextData & | , |
| const unsigned int | , | ||
| const std::string & | , | ||
| const std::function< real(const CurrentState &)> & | , | ||
| const real | ) |
constructor
| [in] | d | : data |
| [in] | c | : column |
| [in] | v | : variable |
| [in] | vt | : variable type |
| [in] | vp | : variable position |
| [in] | eps | : criterium value |
| mtest::ReferenceFileComparisonTest::ReferenceFileComparisonTest | ( | const tfel::utilities::TextData & | , |
| const EvolutionManager & | , | ||
| const std::string & | , | ||
| const std::string & | , | ||
| const std::function< real(const CurrentState &)> & | , | ||
| const real | ) |
constructor
| [in] | d | : data |
| [in] | v | : variable |
| [in] | m | : evolution manager |
| [in] | f | : formulae |
| [in] | vt | : variable type |
| [in] | vp | : variable position |
| [in] | eps | : criterium value |
|
overridevirtual |
| [in] | s | state |
| [in] | t | time |
| [in] | dt | time increment |
| [in] | p | period |
Implements mtest::MTest::UTest.
|
nodiscardoverridevirtual |
Implements mtest::MTest::UTest.