MCPcopy Create free account
hub / github.com/Snapchat/djinni / testRecordArray

Method testRecordArray

test-suite/handwritten-src/js/ArrayTests.js:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15 }
16
17 testRecordArray() {
18 var inputRecords = [{x:1, y:1}, {x:2, y:2}, {x:3, y:3}];
19 var expectedRecords = [{x:3, y:3}, {x:2, y:2}, {x:1, y:1}];
20 assertArrayEq(this.module.testsuite.TestArray.testRecordArray(inputRecords), expectedRecords);
21 }
22
23 testArrayofArray() {
24 var inputArrays = [new Uint32Array([1,1,1]), new Uint32Array([2,2,2]), new Uint32Array([3,3,3])];

Callers

nothing calls this directly

Calls 2

assertArrayEqFunction · 0.70
testRecordArrayMethod · 0.65

Tested by

no test coverage detected