-1:000000000000 | 0:d121ed6530a9 |
---|---|
1 function testScan() { | |
2 // Test reduce elemental fun args | |
3 var p = [1,2,3,4]; | |
4 var r = p.scanPar(function (a, b) { | |
5 assertEq(a >= 1 && a <= 4, true); | |
6 assertEq(b >= 1 && b <= 4, true); | |
7 return a; | |
8 }); | |
9 } | |
10 | |
11 if (getBuildConfiguration().parallelJS) | |
12 testScan(); |