Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review: https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 load(libdir + "parallelarray-helpers.js");
2
3 function testReduce() {
4 function sum(v, p) { return v+p; }
5 assertArraySeqParResultsEq(range(1, 513), "reduce", sum);
6 }
7
8 if (getBuildConfiguration().parallelJS)
9 testReduce();