Home
last modified time | relevance | path

Searched refs:invsum (Results 1 – 7 of 7) sorted by relevance

/external/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffersExampleTests.cs222 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()
/external/flatbuffers/tests/
DJavaTest.java115 int invsum = 0; in TestBuffer() local
117 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()
Dluatest.lua48 local invsum = 0
51 invsum = invsum + v
53 assert(invsum == 10)
DJavaScriptTest.js138 var invsum = 0;
140 invsum += monster.inventory(i);
142 assert.strictEqual(invsum, 10);
DphpTest.php125 $invsum = 0;
127 $invsum += $monster->GetInventory($i);
129 $assert->strictEqual($invsum, 10);
Dgo_test.go255 invsum := 0
262 invsum += int(v)
264 if invsum != 10 {
265 fail(FailString("monster inventory sum", 10, invsum))
Dpy_test.py138 invsum = 0
141 invsum += int(v)
142 asserter(invsum == 10)