Gromacs
2024.4
|
Test case whose body checks that spline and spread work.
Normally the declaration of this class would be produced by a call to a macro like TEST_P(SplineAndSpreadTest, WorksWith). That macro places the body of the test case in the TestBody() method, which here is done explicitly.
Note that it is important to use parameters_ to access the values that describe the particular test case, rather than the usual GoogleTest function GetParam(), because the latter no longer works.
Public Member Functions | |
SplineAndSpreadTestBody (const SplineAndSpreadInputParameters ¶meters) | |
Constructor. | |
void | TestBody () override |
The test. | |
Public Attributes | |
SplineAndSpreadInputParameters | parameters_ |
The test parameters with which the test case was instantiated. | |