Home
last modified time | relevance | path

Searched refs:movie_object (Results 1 – 1 of 1) sorted by relevance

/external/flatbuffers/tests/
Dtest.cpp2096 auto movie_object = flat_movie->UnPack(); in UnionVectorTest() local
2097 TEST_EQ(movie_object->main_character.AsRapunzel()->hair_length(), 6); in UnionVectorTest()
2098 TEST_EQ(movie_object->characters[0].AsBelle()->books_read(), 7); in UnionVectorTest()
2099 TEST_EQ(movie_object->characters[1].AsMuLan()->sword_attack_damage, 5); in UnionVectorTest()
2100 TEST_EQ(movie_object->characters[2].AsBookFan()->books_read(), 2); in UnionVectorTest()
2101 TEST_EQ_STR(movie_object->characters[3].AsOther()->c_str(), "Other"); in UnionVectorTest()
2102 TEST_EQ_STR(movie_object->characters[4].AsUnused()->c_str(), "Unused"); in UnionVectorTest()
2105 fbb.Finish(Movie::Pack(fbb, movie_object)); in UnionVectorTest()
2107 delete movie_object; in UnionVectorTest()