diff --git a/ut/types_ut.cpp b/ut/types_ut.cpp index 7f91f596..98d9a800 100644 --- a/ut/types_ut.cpp +++ b/ut/types_ut.cpp @@ -62,6 +62,11 @@ TEST(TypesCase, EnumTypes) { ASSERT_EQ((++enum16->As()->BeginValueToName())->second, "Red"); } +TEST(TypesCase, EnumTypesEmpty) { + ASSERT_EQ("Enum8()", Type::CreateEnum8({})->GetName()); + ASSERT_EQ("Enum16()", Type::CreateEnum16({})->GetName()); +} + TEST(TypesCase, DecimalTypes) { // TODO: implement this test. }