Lines Matching refs:asserter
79 def asserter(stmt): function
86 asserter(monster.Hp() == 80)
87 asserter(monster.Mana() == 150)
88 asserter(monster.Name() == b'MyMonster')
92 asserter(vec is not None)
95 asserter(vec.X() == 1.0)
96 asserter(vec.Y() == 2.0)
97 asserter(vec.Z() == 3.0)
98 asserter(vec.Test1() == 3.0)
99 asserter(vec.Test2() == 2)
104 asserter(t is not None)
107 asserter(t.A() == 5)
108 asserter(t.B() == 6)
112 asserter(monster.TestType() == union_type.Monster)
116 asserter(type(table2) is flatbuffers.table.Table)
122 asserter(monster2.Name() == b"Fred")
125 asserter(monster.InventoryLength() == 5)
131 asserter(invsum == 10)
133 asserter(monster.Test4Length() == 2)
137 asserter(type(test0) is MyGame.Example.Test.Test)
140 asserter(type(test1) is MyGame.Example.Test.Test)
150 asserter(sumtest12 == 100)
152 asserter(monster.TestarrayofstringLength() == 2)
153 asserter(monster.Testarrayofstring(0) == b"test1")
154 asserter(monster.Testarrayofstring(1) == b"test2")
156 asserter(monster.TestarrayoftablesLength() == 0)
157 asserter(monster.TestnestedflatbufferLength() == 0)
158 asserter(monster.Testempty() is None)