Lines Matching refs:mon
1141 mon = MyGame.Example.Monster.MonsterEnd(b)
1144 b.FinishSizePrefixed(mon)
1146 b.Finish(mon)
1160 self.mon = MyGame.Example.Monster.Monster.GetRootAsMonster(b.Bytes,
1164 self.assertTrue(self.mon.Pos() is None)
1170 mon = MyGame.Example.Monster.MonsterEnd(b)
1171 b.Finish(mon)
1178 self.assertEqual(100, self.mon.Hp())
1181 self.assertEqual(None, self.mon.Name())
1184 self.assertEqual(0, self.mon.Inventory(0))
1187 self.assertEqual(0, self.mon.InventoryLength())
1190 self.assertEqual(MyGame.Example.Color.Color.Blue, self.mon.Color())
1197 mon = MyGame.Example.Monster.MonsterEnd(b)
1198 b.Finish(mon)
1205 self.assertEqual(0, self.mon.TestType())
1208 self.assertEqual(None, self.mon.Test())
1211 self.assertEqual(None, self.mon.Test4(0))
1214 self.assertEqual(0, self.mon.Test4Length())
1217 self.assertEqual("", self.mon.Testarrayofstring(0))
1220 self.assertEqual(0, self.mon.TestarrayofstringLength())
1223 self.assertEqual(None, self.mon.Testarrayoftables(0))
1241 mon = MyGame.Example.Monster.MonsterEnd(b)
1242 b.Finish(mon)
1250 self.assertEqual(0, self.mon.TestarrayoftablesLength())
1264 mon = MyGame.Example.Monster.MonsterEnd(b)
1265 b.Finish(mon)
1273 self.assertEqual(0, self.mon.Testnestedflatbuffer(0))
1276 self.assertEqual(0, self.mon.TestnestedflatbufferLength())
1290 mon = MyGame.Example.Monster.MonsterEnd(b)
1291 b.Finish(mon)
1322 mon = MyGame.Example.Monster.MonsterEnd(b)
1323 b.Finish(mon)
1331 self.assertFalse(self.mon.Testbool())
1337 mon = MyGame.Example.Monster.MonsterEnd(b)
1338 b.Finish(mon)
1346 self.assertEqual(0, self.mon.Testhashs32Fnv1())
1347 self.assertEqual(0, self.mon.Testhashu32Fnv1())
1348 self.assertEqual(0, self.mon.Testhashs64Fnv1())
1349 self.assertEqual(0, self.mon.Testhashu64Fnv1())
1350 self.assertEqual(0, self.mon.Testhashs32Fnv1a())
1351 self.assertEqual(0, self.mon.Testhashu32Fnv1a())
1352 self.assertEqual(0, self.mon.Testhashs64Fnv1a())
1353 self.assertEqual(0, self.mon.Testhashu64Fnv1a())
1366 mon = MyGame.Example.Monster.MonsterEnd(b)
1367 b.Finish(mon)
1408 self.mon = MyGame.MonsterExtra.MonsterExtra.GetRootAsMonsterExtra(b.Bytes, b.Head())
1411 self.assertTrue(math.isnan(self.mon.TestfNan()))
1412 self.assertEqual(self.mon.TestfPinf(), float("inf"))
1413 self.assertEqual(self.mon.TestfNinf(), float("-inf"))
1415 self.assertTrue(math.isnan(self.mon.TestdNan()))
1416 self.assertEqual(self.mon.TestdPinf(), float("inf"))
1417 self.assertEqual(self.mon.TestdNinf(), float("-inf"))