Searched refs:invsum (Results 1 – 8 of 8) sorted by relevance
117 var invsum = 0u in TestBuffer() variable119 invsum += monster.inventory(i) in TestBuffer()120 assert(invsum == 10u) in TestBuffer()124 invsum = 0u in TestBuffer()126 invsum += ibb.get().toUInt() in TestBuffer()127 assert(invsum == 10u) in TestBuffer()
46 local invsum = 049 invsum = invsum + v51 assert(invsum == 10)
140 int invsum = 0; in TestBuffer() local142 invsum += monster.inventory(i); in TestBuffer()143 TestEq(invsum, 10); in TestBuffer()148 invsum = 0; in TestBuffer()150 invsum += inventoryVector.getAsUnsigned(i); in TestBuffer()151 TestEq(invsum, 10); in TestBuffer()155 invsum = 0; in TestBuffer()157 invsum += ibb.get(); in TestBuffer()158 TestEq(invsum, 10); in TestBuffer()
138 var invsum = 0;140 invsum += monster.inventory(i);142 assert.strictEqual(invsum, 10);
125 $invsum = 0;127 $invsum += $monster->GetInventory($i);129 $assert->strictEqual($invsum, 10);
265 invsum := 0272 invsum += int(v)274 if invsum != 10 {275 fail(FailString("monster inventory sum", 10, invsum))
595 invsum = 0598 invsum += int(v)599 asserter(invsum == 10)
219 var invsum = 0; in TestBuffer()222 invsum += monster.Inventory(i); in TestBuffer()224 Assert.AreEqual(10, invsum); in TestBuffer()232 invsum -= inv; in TestBuffer()234 Assert.AreEqual(0, invsum); in TestBuffer()