|
Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
|


Protected Member Functions | |
| void | SetUp () override |
| const std::filesystem::path & | getRootPath () const |
Protected Attributes | |
| std::filesystem::path | cholla_root_path_ |
This is a reusable fixture for getting the path to the root of the Cholla directory
The basic idea is to use this fixture when you want to write a test that needs a file within the cholla directory. The fixture is designed so that if the path to the cholla directory can't be inferred, the associated test will be skipped.
At the time of writing, the tests will all be skipped if the path to the Cholla directory isn't explicitly provided on the command line. This fixture is being created so we can consider relaxing that requirement in the future.
|
inlineprotected |
returns the path to the root of the cholla repository