]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/test/array/generate.js
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / node_modules / node-gyp / node_modules / path-array / node_modules / array-index / node_modules / es6-symbol / node_modules / es5-ext / test / array / generate.js
1 'use strict';
2
3 module.exports = function (t, a) {
4         var x = {}, y = {};
5         a.deep(t(3), [undefined, undefined, undefined], "Just length");
6         a.deep(t(0, 'x'), [], "No repeat");
7         a.deep(t(1, x, y), [x], "Arguments length larger than repeat number");
8         a.deep(t(3, x), [x, x, x], "Single argument");
9         a.deep(t(5, x, y), [x, y, x, y, x], "Many arguments");
10 };