|
| DataID | precice::testing::operator""_dataID (unsigned long long n) |
| template<class DerivedA, class DerivedB> |
| boost::test_tools::predicate_result | precice::testing::equals (const Eigen::MatrixBase< DerivedA > &A, const Eigen::MatrixBase< DerivedB > &B, double tolerance=math::NUMERICAL_ZERO_DIFFERENCE) |
| | equals to be used in tests. Compares two matrices using a given tolerance. Prints both operands on failure.
|
| boost::test_tools::predicate_result | precice::testing::equals (const std::vector< float > &VectorA, const std::vector< float > &VectorB, float tolerance) |
| | equals to be used in tests. Compares two std::vectors using a given tolerance. Prints both operands on failure
|
| boost::test_tools::predicate_result | precice::testing::equals (const std::vector< double > &VectorA, const std::vector< double > &VectorB, double tolerance) |
| boost::test_tools::predicate_result | precice::testing::equals (float a, float b, float tolerance=math::NUMERICAL_ZERO_DIFFERENCE) |
| | equals to be used in tests. Compares two scalar numbers using a given tolerance. Prints both operands on failure
|
| boost::test_tools::predicate_result | precice::testing::equals (double a, double b, double tolerance) |
| std::string | precice::testing::getPathToRepository () |
| | Returns the base path of the repo.
|
| std::string | precice::testing::getPathToSources () |
| | Returns the base path to the sources.
|
| std::string | precice::testing::getPathToTests () |
| | Returns the base path to the integration tests.
|
| std::string | precice::testing::getTestName () |
| | Returns the name of the current test.
|
| std::string | precice::testing::getFullTestName () |
| | Return the full name of the current test as seen in boost assertions.
|
| std::string | precice::testing::getTestPath () |
| | Returns the full path to the file containing the current test.
|
| template<typename... ARGS> |
| auto | precice::testing::testSetup (ARGS... args) |
| TestSetup | precice::testing::getTestSetup () |
| | Returns the registered TestSetup for the test.
|
| std::optional< TestSetup > | precice::testing::getTestSetupFor (const boost::unit_test::test_unit &tu) |
| | Returns the registered TestSetup for a test if available.
|
| int | precice::testing::nextMeshID () |
| void | precice::testing::expectFile (std::string_view name) |
| template<typename... Args> |
| void | precice::testing::expectFiles (Args... args) |
| ErrorPredicate | precice::testing::errorContains (std::string_view substring) |
| | Checks if the message of a given precice::Error contains a substring.
|
| ErrorPredicate | precice::testing::errorMatches (std::string regex) |
| | Checks if the message of a given precice::Error matches a regex.
|