10 #include <gtest/gtest.h> 53 EXPECT_THROW(TEnumType<TestColors>::name2value(
"Violet"), std::exception);
67 TEnumType<TestColors>::value2name(static_cast<TestColors>(5)),
#define MRPT_ENUM_TYPE_END()
TEST(TEnumType, str2value)
EXPECT_EQ(out.image_pair_was_used.size(), NUM_IMGS)
MRPT_FILL_ENUM_MEMBER(TestColors, Black)
#define MRPT_ENUM_TYPE_BEGIN(_ENUM_TYPE_WITH_NS)