Celeritas 0.6.0-rc.2.10+develop.de0a3a05
Loading...
Searching...
No Matches
Protected Types | Protected Member Functions | List of all members
celeritas::test::GenericGeoParameterizedTest< TestBase, GeoTestImpl > Class Template Reference

Instantiate a test harness using one of the GeoTest classes. More...

#include <GenericGeoParameterizedTest.hh>

Inheritance diagram for celeritas::test::GenericGeoParameterizedTest< TestBase, GeoTestImpl >:
Inheritance graph
[legend]

Protected Types

using TestImpl = GeoTestImpl
 

Protected Member Functions

std::string geometry_basename () const final
 
TestImpl impl ()
 

Detailed Description

template<class TestBase, class GeoTestImpl>
class celeritas::test::GenericGeoParameterizedTest< TestBase, GeoTestImpl >

Instantiate a test harness using one of the GeoTest classes.

This allows a geometry-specific test (e.g., GeantGeoTest) to be crossed with test results for a specific geometry (e.g., the four-levels results defined in FourLevelsGeoTest).

Example:

using MultiLevelTest = GenericGeoParameterizedTest<GeantGeoTest,
TEST_F(MultiLevelTest, accessors)
{
this->impl().test_accessors();
}
Instantiate a test harness using one of the GeoTest classes.
Definition GenericGeoParameterizedTest.hh:39
Test the multi-level geometry.
Definition GeoTests.hh:86

The documentation for this class was generated from the following file: