|
Celeritas 0.7.0-dev.164+develop.929c81eeb
|
Googletest test harness for Celeritas codes. More...
#include <Test.hh>

Public Member Functions | |
| virtual std::string | make_unique_filename (std::string_view ext) |
| Generate test-unique filename. | |
| std::string | make_unique_filename () |
Static Public Member Functions | |
| static std::string | test_data_path (std::string_view subdir, std::string_view filename) |
Get the path to a test file at {source}/test/{subdir}/data/{filename}. | |
| static bool | strict_testing () |
| True if strict testing is required. | |
Static Public Attributes | |
| static constexpr double | inf = HUGE_VAL |
| static constexpr float | inff = HUGE_VALF |
| static constexpr double | fine_eps = 1e-12 |
| static constexpr double | coarse_eps = 1e-6 |
Googletest test harness for Celeritas codes.
The test harness is constructed and destroyed once per subtest. It contains helper functions and data commonly needed in Celeritas tests.
|
virtual |
Generate test-unique filename.
Reimplemented in celeritas::test::IntegrationTestBase.
|
static |
True if strict testing is required.
This is set during CI tests so that "loose" tests (which might depend on the environment) are enabled inside the CI.
|
static |
Get the path to a test file at {source}/test/{subdir}/data/{filename}.