Gromacs
2025.0-dev-20241009-5c23d5f
|
#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 * >> |