d72e056887838b5d98970c95219d30ef90f1197e
[platform/framework/web/crosswalk-tizen.git] /
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 };