Home
last modified time | relevance | path

Searched refs:unionType2 (Results 1 - 1 of 1) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/test/unit/
H A Dunion_normalization_test.cpp555 auto *const unionType2 = normalizedType2->AsETSUnionType(); in TEST_F() local
556 ASSERT_EQ(unionType2->ConstituentTypes().size(), SIZE2); in TEST_F()
557 ASSERT_TRUE(unionType2->ConstituentTypes().at(IDX0)->IsETSStringType()); in TEST_F()
558 ASSERT_EQ(unionType2->ConstituentTypes().at(IDX0)->AsETSStringType()->GetValue(), "ab1"); in TEST_F()
559 ASSERT_TRUE(unionType2->ConstituentTypes().at(IDX1)->IsETSStringType()); in TEST_F()
560 ASSERT_EQ(unionType2->ConstituentTypes().at(IDX1)->AsETSStringType()->GetValue(), "bc2"); in TEST_F()

Completed in 2 milliseconds