(StructType = GIMarshallingTests.BoxedStruct)
| 451 | |
| 452 | describe('C array with length', function () { |
| 453 | function createStructArray(StructType = GIMarshallingTests.BoxedStruct) { |
| 454 | return [1, 2, 3].map(num => { |
| 455 | let struct = new StructType(); |
| 456 | struct.long_ = num; |
| 457 | return struct; |
| 458 | }); |
| 459 | } |
| 460 | |
| 461 | testSimpleMarshalling('array', [-1, 0, 1, 2], [-2, -1, 0, 1, 2], []); |
| 462 |