Gromacs  2025-dev-20241002-88a4191
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
gmx::test::anonymous_namespace{pmesplinespreadtest.cpp}::SplineAndSpreadTestBody Class Reference
+ Inheritance diagram for gmx::test::anonymous_namespace{pmesplinespreadtest.cpp}::SplineAndSpreadTestBody:
+ Collaboration diagram for gmx::test::anonymous_namespace{pmesplinespreadtest.cpp}::SplineAndSpreadTestBody:

Description

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 &parameters)
 Constructor.
 
void TestBody () override
 The test.
 

Public Attributes

SplineAndSpreadInputParameters parameters_
 The test parameters with which the test case was instantiated.
 

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