Searched refs:monsterObject (Results 1 – 1 of 1) sorted by relevance
322 Monster monsterObject = Monster.getRootAsMonster(fbb.dataBuffer()); in TestCreateByteVector() local324 TestEq(monsterObject.inventory(1), (int)inventory[1]); in TestCreateByteVector()325 TestEq(monsterObject.inventoryLength(), inventory.length); in TestCreateByteVector()326 TestEq(ByteBuffer.wrap(inventory), monsterObject.inventoryAsByteBuffer()); in TestCreateByteVector()343 Monster monsterObject = Monster.getRootAsMonster(fbb.dataBuffer()); in TestCreateUninitializedVector() local345 TestEq(monsterObject.inventory(1), (int)inventory[1]); in TestCreateUninitializedVector()346 TestEq(monsterObject.inventoryLength(), inventory.length); in TestCreateUninitializedVector()347 TestEq(ByteBuffer.wrap(inventory), monsterObject.inventoryAsByteBuffer()); in TestCreateUninitializedVector()