HomeSort by relevance Sort by last modified time
    Searched refs:monster2 (Results 1 - 7 of 7) sorted by null

  /external/flatbuffers/tests/
test.cpp 272 auto monster2 = reinterpret_cast<const Monster *>(monster->test()); local
273 TEST_NOTNULL(monster2);
274 TEST_EQ_STR(monster2->name()->c_str(), "Fred");
448 auto monster2 = UnPackMonster(fbb1.GetBufferPointer(), &resolver); local
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
    [all...]
JavaTest.java 104 Monster monster2 = new Monster(); local
105 TestEq(monster.test(monster2) != null, true);
106 TestEq(monster2.name(), "Fred");
JavaScriptTest.js 116 var monster2 = new MyGame.Example.Monster();
117 assert.strictEqual(monster.test(monster2) != null, true);
118 assert.strictEqual(monster2.name(), 'Fred');
go_test.go 143 monster2 := &example.Monster{}
144 flatbuffers.GetRootAs(buf, offset, monster2)
145 for _, monster := range []*example.Monster{monster1, monster2} {
222 fail("monster.Test(&monster2) failed")
226 var monster2 example.Monster
227 monster2.Init(table2.Bytes, table2.Pos)
229 if got := monster2.Name(); !bytes.Equal([]byte("Fred"), got) {
230 fail(FailString("monster2.Name()", "Fred", got))
    [all...]
phpTest.php 120 $monster2 = new \MyGame\Example\Monster(); variable
121 $assert->strictEqual($monster->GetTest($monster2) != null, true);
122 $assert->strictEqual($monster2->GetName(), 'Fred');
py_test.py 121 monster2 = MyGame.Example.Monster.Monster()
122 monster2.Init(table2.Bytes, table2.Pos)
124 asserter(monster2.Name() == b"Fred")
    [all...]
  /external/flatbuffers/tests/FlatBuffers.Test/
FlatBuffersExampleTests.cs 188 var monster2 = monster.Test<Monster>().Value;
189 Assert.AreEqual("Fred", monster2.Name);

Completed in 884 milliseconds