Gromacs
2024.4
|
#include "gmxpre.h"
#include "gromacs/utility/stringtoenumvalueconverter.h"
#include <gtest/gtest.h>
Tests for string-to-enum-value helper functor.
Enumerations | |
enum | gmx::anonymous_namespace{stringtoenumvalueconverter.cpp}::Foo : int { Bar, Ugh, Fooz, Weird, Empty, Count, Default = Ugh } |
Type to use in testing. | |
Functions | |
const char * | gmx::anonymous_namespace{stringtoenumvalueconverter.cpp}::enumValueToString (Foo f) |
Declare the conventional conversion function. | |
const char * | gmx::anonymous_namespace{stringtoenumvalueconverter.cpp}::enumValueToLetterAsString (Foo f) |
Declare an atypical conversion function. | |
::std::ostream & | gmx::anonymous_namespace{stringtoenumvalueconverter.cpp}::operator<< (::std::ostream &os, const std::optional< Foo > &f) |
Pretty-printer for GoogleTest to use. | |