Celeritas
0.5.0-86+4a8eea4
|
Store a unit and its builder over the lifetime of the class. More...
#include <ObjectTestBase.hh>
Public Types | |
Type aliases | |
using | Unit = detail::CsgUnit |
using | UnitBuilder = detail::CsgUnitBuilder |
using | Tol = Tolerance<> |
Public Member Functions | |
virtual Tol | tolerance () const =0 |
Construction tolerance used by unit builder. | |
Unit const & | unit () const |
Access the constructed unit. | |
UnitBuilder & | unit_builder () |
Lazily create and access the unit builder for passing around. | |
UnitBuilder const & | unit_builder () const |
Access the unit builder for const passing. | |
void | reset () |
void | reset (BBox const &extents) |
LocalVolumeId | build_volume (ObjectInterface const &s) |
void | print_expected () const |
Public Member Functions inherited from celeritas::test::Test | |
std::string | make_unique_filename (std::string_view ext={}) |
Generate test-unique filename. | |
Additional Inherited Members | |
Static Public Member Functions inherited from celeritas::test::Test | |
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} . More... | |
static std::string | genericize_pointers (std::string_view s) |
Replace pointer addresses with 0x0 for improved testability. | |
static bool | strict_testing () |
True if strict testing is required. More... | |
Static Public Attributes inherited from celeritas::test::Test | |
static constexpr double | inf = HUGE_VAL |
static constexpr float | inff = HUGE_VALF |
static constexpr double | coarse_eps = 1e-6 |
Store a unit and its builder over the lifetime of the class.