Commit a0812f16 authored by ussrhero's avatar ussrhero
Browse files

added failed test TypeInfoTest.Enum

parent eeefca7d
...@@ -197,6 +197,10 @@ TEST_F( TypeInfoTest, Enum ) ...@@ -197,6 +197,10 @@ TEST_F( TypeInfoTest, Enum )
EXPECT_TRUE( loadType(L"enumType")->isEnum() ); EXPECT_TRUE( loadType(L"enumType")->isEnum() );
EXPECT_EQ( TWO, *loadType(L"enumType")->getElement(L"TWO") ); EXPECT_EQ( TWO, *loadType(L"enumType")->getElement(L"TWO") );
EXPECT_TRUE( (NumVariant)*loadType(L"enumType")->getElement(L"TWO") == TWO ); EXPECT_TRUE( (NumVariant)*loadType(L"enumType")->getElement(L"TWO") == TWO );
EXPECT_EQ(ONE, *loadType(L"enumType")->getElement(0));
EXPECT_EQ(TWO, *loadType(L"enumType")->getElement(1));
EXPECT_EQ(THREE, *loadType(L"enumType")->getElement(2));
} }
TEST_F( TypeInfoTest, BitField ) TEST_F( TypeInfoTest, BitField )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment