Lines Matching refs:start

805             start = +new Date;
809 if ((new Date - start) < limit && typeof actual != 'string') {
2218 lodashStable.each(['camel', 'kebab', 'lower', 'snake', 'start', 'upper'], function(caseName) {
2233 case 'start': return 'Foo Bar';
2242 var expected = (caseName == 'start' && string == 'FOO BAR') ? string : converted;
2253 var expected = (caseName == 'start' && string == 'FOO BAR') ? string : converted;
2265 if (caseName == 'start') {
2294 case 'start': return 'A B' + postfix + ' C';
4397 var start = +new Date;
4398 while ((new Date - start) < limit) {
5688 QUnit.test('should use a default `start` of `0` and a default `end` of `length`', function(assert) {
5707 QUnit.test('should work with a positive `start`', function(assert) {
5714 QUnit.test('should work with a `start` >= `length`', function(assert) {
5717 lodashStable.each([3, 4, Math.pow(2, 32), Infinity], function(start) {
5719 assert.deepEqual(_.fill(array, 'a', start), [1, 2, 3]);
5723 QUnit.test('should treat falsey `start` values as `0`', function(assert) {
5728 var actual = lodashStable.map(falsey, function(start) {
5730 return _.fill(array, 'a', start);
5736 QUnit.test('should work with a negative `start`', function(assert) {
5743 QUnit.test('should work with a negative `start` <= negative `length`', function(assert) {
5746 lodashStable.each([-3, -4, -Infinity], function(start) {
5748 assert.deepEqual(_.fill(array, 'a', start), ['a', 'a', 'a']);
5752 QUnit.test('should work with `start` >= `end`', function(assert) {
5755 lodashStable.each([2, 3], function(start) {
5757 assert.deepEqual(_.fill(array, 'a', start, 2), [1, 2, 3]);
5808 QUnit.test('should coerce `start` and `end` to integers', function(assert) {
8383 QUnit.test('should work with a `start` and `end`', function(assert) {
8392 QUnit.test('should treat falsey `start` as `0`', function(assert) {
8405 QUnit.test('should swap `start` and `end` when `start` > `end`', function(assert) {
18619 QUnit.test('`_.' + methodName + '` should infer the sign of `step` when only `start` and `end` are given', function(assert) {
18626 QUnit.test('`_.' + methodName + '` should work with a `start`, `end`, and `step`', function(assert) {
18653 QUnit.test('`_.' + methodName + '` should support `start` of `-0`', function(assert) {
18660 QUnit.test('`_.' + methodName + '` should treat falsey `start` as `0`', function(assert) {
19555 QUnit.test('should work with `start`', function(assert) {
19562 QUnit.test('should treat `start` as `0` for `NaN` or negative values', function(assert) {
19576 QUnit.test('should coerce `start` to an integer', function(assert) {
19583 QUnit.test('should use an empty array when `start` is not reached', function(assert) {
20261 QUnit.test('`_.' + methodName + '` should not create an array for missing non-index property names that start with numbers', function(assert) {
20437 QUnit.test('should use a default `start` of `0` and a default `end` of `length`', function(assert) {
20445 QUnit.test('should work with a positive `start`', function(assert) {
20452 QUnit.test('should work with a `start` >= `length`', function(assert) {
20455 lodashStable.each([3, 4, Math.pow(2, 32), Infinity], function(start) {
20456 assert.deepEqual(_.slice(array, start), []);
20460 QUnit.test('should treat falsey `start` values as `0`', function(assert) {
20465 var actual = lodashStable.map(falsey, function(start) {
20466 return _.slice(array, start);
20472 QUnit.test('should work with a negative `start`', function(assert) {
20478 QUnit.test('should work with a negative `start` <= negative `length`', function(assert) {
20481 lodashStable.each([-3, -4, -Infinity], function(start) {
20482 assert.deepEqual(_.slice(array, start), array);
20486 QUnit.test('should work with `start` >= `end`', function(assert) {
20489 lodashStable.each([2, 3], function(start) {
20490 assert.deepEqual(_.slice(array, start, 2), []);
20536 QUnit.test('should coerce `start` and `end` to integers', function(assert) {
21144 QUnit.test('should work with `start`', function(assert) {
21154 QUnit.test('should treat `start` as `0` for negative or `NaN` values', function(assert) {
21168 QUnit.test('should coerce `start` to an integer', function(assert) {
21206 QUnit.test('should return `false` if a string does not start with `target`', function(assert) {
22809 var start = +new Date;
22810 while ((new Date - start) < limit) {
26945 QUnit.start();