3 var partial = require('../../../function/#/partial');
6 Left: function (t, a) {
7 t = partial.call(t, 'x', 5);
9 a(t.call('yy'), 'xxxyy');
10 a(t.call(''), 'xxxxx', "Empty string");
12 a(t.call('yyyyy'), 'yyyyy', 'Equal length');
13 a(t.call('yyyyyyy'), 'yyyyyyy', 'Longer');
15 Right: function (t, a) {
16 t = partial.call(t, 'x', -5);
18 a(t.call('yy'), 'yyxxx');
19 a(t.call(''), 'xxxxx', "Empty string");
21 a(t.call('yyyyy'), 'yyyyy', 'Equal length');
22 a(t.call('yyyyyyy'), 'yyyyyyy', 'Longer');