Gromacs
2026.0-dev-20250207-8469bad
|
#include <testutils/include/testutils/naming.h>
Specialization for formatting function of variables whose type is an enum.
When the user wants to use an enum as the type of a GoogleTest test parameter, they must choose a class enum and can choose to supply either a formatting callable or a matching EnumerationArray, and this variant can contain either case.
Public Types | |
using | Variant = std::variant< std::function< std::string(Enum)>, EnumerationArray< Enum, const char * >> |