Lines Matching refs:monster2
272 auto monster2 = reinterpret_cast<const Monster *>(monster->test());
273 TEST_NOTNULL(monster2);
274 TEST_EQ_STR(monster2->name()->c_str(), "Fred");
448 auto monster2 = UnPackMonster(fbb1.GetBufferPointer(), &resolver);
450 fbb2.Finish(CreateMonster(fbb2, monster2.get(), &rehasher),
464 TEST_EQ(monster2->hp, 80);
465 TEST_EQ(monster2->mana, 150); // default
466 TEST_EQ_STR(monster2->name.c_str(), "MyMonster");
468 auto &pos = monster2->pos;
474 auto &inventory = monster2->inventory;
480 TEST_EQ(monster2->color, Color_Blue);
482 auto monster3 = monster2->test.AsMonster();
486 auto &vecofstrings = monster2->testarrayofstring;
491 auto &vecofstrings2 = monster2->testarrayofstring2;
496 auto &vecoftables = monster2->testarrayoftables;
503 auto &tests = monster2->test4;