Searched refs:invsum (Results 1 – 7 of 7) sorted by relevance
222 var invsum = 0; in TestBuffer()225 invsum += monster.Inventory(i); in TestBuffer()227 Assert.AreEqual(10, invsum); in TestBuffer()235 invsum -= inv; in TestBuffer()237 Assert.AreEqual(0, invsum); in TestBuffer()
115 int invsum = 0; in TestBuffer() local117 invsum += monster.inventory(i); in TestBuffer()118 TestEq(invsum, 10); in TestBuffer()122 invsum = 0; in TestBuffer()124 invsum += ibb.get(); in TestBuffer()125 TestEq(invsum, 10); in TestBuffer()
48 local invsum = 051 invsum = invsum + v53 assert(invsum == 10)
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);
255 invsum := 0262 invsum += int(v)264 if invsum != 10 {265 fail(FailString("monster inventory sum", 10, invsum))
138 invsum = 0141 invsum += int(v)142 asserter(invsum == 10)