Lines Matching refs:test

221     result = (result.length > min && !/test(?:\.js)?$/.test(last)) ? last : '../lodash.js';
239 'isModularize': /\b(?:amd|commonjs|es|node|npm|(index|main)\.js)\b/.test(filePath),
240 'isStrict': /\bes\b/.test(filePath) || 'default' in require(filePath),
251 var isNpm = isModularize && /\bnpm\b/.test([ui.buildPath, ui.urlParams.build]);
364 return /^(?:\$\$cov_\d+\$\$)$/.test(key);
555 if (!(name == 'runInContext' || name.length == 1 || /\b_\.isBuffer\b/.test(caller))) {
766 QUnit.test('should support loading ' + basename + ' as the "lodash" module', function(assert) {
777 …QUnit.test('should support loading ' + basename + ' with the Require.js "shim" configuration optio…
787 …QUnit.test('should support loading ' + basename + ' as the "underscore" module', function(assert) {
798 QUnit.test('should support loading ' + basename + ' in a web worker', function(assert) {
825 QUnit.test('should not add `Function.prototype` extensions to lodash', function(assert) {
836 QUnit.test('should avoid non-native built-ins', function(assert) {
935 QUnit.test('should return `true` for indexes', function(assert) {
953 QUnit.test('should return `false` for non-indexes', function(assert) {
981 QUnit.test('should return `true` for iteratee calls', function(assert) {
997 QUnit.test('should return `false` for non-iteratee calls', function(assert) {
1011 QUnit.test('should work with `NaN` values', function(assert) {
1023 …QUnit.test('should not error when `index` is an object without a `toString` method', function(asse…
1070 var isLarge = /^large/.test(kind);
1072 QUnit.test('should implement a `Map` interface for ' + kind, function(assert) {
1097 QUnit.test('should support changing values of ' + kind, function(assert) {
1116 …QUnit.test('should create a new instance when called without the `new` operator', function(assert)…
1131 QUnit.test('should return the given `lodash` instances', function(assert) {
1147 QUnit.test('should convert foreign wrapped values to `lodash` instances', function(assert) {
1172 QUnit.test('should add two numbers', function(assert) {
1180 QUnit.test('should not coerce arguments to numbers', function(assert) {
1199 QUnit.test('should create a function that invokes `func` after `n` calls', function(assert) {
1208 QUnit.test('should coerce `n` values of `NaN` to `0`', function(assert) {
1214 QUnit.test('should use `this` binding of function', function(assert) {
1235 QUnit.test('should cap the number of arguments provided to `func`', function(assert) {
1245 QUnit.test('should use `func.length` if `n` is not given', function(assert) {
1252 QUnit.test('should treat a negative `n` as `0`', function(assert) {
1264 QUnit.test('should coerce `n` to an integer', function(assert) {
1278 QUnit.test('should not force a minimum argument count', function(assert) {
1295 QUnit.test('should use `this` binding of function', function(assert) {
1304 QUnit.test('should use the existing `ary` if smaller', function(assert) {
1311 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
1320 QUnit.test('should work when combined with other methods that use metadata', function(assert) {
1343 QUnit.test('should be aliased', function(assert) {
1357 …QUnit.test('`_.' + methodName + '` should assign source properties to `object`', function(assert) {
1363 QUnit.test('`_.' + methodName + '` should accept multiple sources', function(assert) {
1371 QUnit.test('`_.' + methodName + '` should overwrite destination properties', function(assert) {
1378 …QUnit.test('`_.' + methodName + '` should assign source properties with nullish values', function(…
1385 …QUnit.test('`_.' + methodName + '` should skip assignments if values are the same', function(asser…
1428 … QUnit.test('`_.' + methodName + '` should treat sparse array sources as dense', function(assert) {
1437 … QUnit.test('`_.' + methodName + '` should assign values of prototype objects', function(assert) {
1446 QUnit.test('`_.' + methodName + '` should coerce string sources to objects', function(assert) {
1458 QUnit.test('should be aliased', function(assert) {
1472 QUnit.test('`_.' + methodName + '` should work with a `customizer` callback', function(assert) {
1482 …QUnit.test('`_.' + methodName + '` should work with a `customizer` that returns `undefined`', func…
1498 QUnit.test('should return the elements corresponding to the specified keys', function(assert) {
1505 QUnit.test('should return `undefined` for nonexistent keys', function(assert) {
1512 QUnit.test('should work with non-index keys on array values', function(assert) {
1529 QUnit.test('should return an empty array when no keys are given', function(assert) {
1536 QUnit.test('should accept multiple key arguments', function(assert) {
1543 QUnit.test('should work with a falsey `object` when keys are given', function(assert) {
1557 QUnit.test('should work with an `arguments` object for `object`', function(assert) {
1564 QUnit.test('should work with `arguments` object as secondary arguments', function(assert) {
1571 QUnit.test('should work with an object for `object`', function(assert) {
1578 QUnit.test('should pluck inherited property values', function(assert) {
1590 QUnit.test('should work in a lazy sequence', function(assert) {
1611 QUnit.test('should support shortcut fusion', function(assert) {
1636 QUnit.test('work with an object for `object` when chaining', function(assert) {
1660 QUnit.test('should return the result of `func`', function(assert) {
1666 QUnit.test('should provide additional arguments to `func`', function(assert) {
1673 QUnit.test('should return the caught error', function(assert) {
1685 QUnit.test('should coerce errors to error objects', function(assert) {
1692 QUnit.test('should preserve custom errors', function(assert) {
1699 QUnit.test('should work with an error object from another realm', function(assert) {
1716 QUnit.test('should return an unwrapped value when implicitly chaining', function(assert) {
1727 QUnit.test('should return a wrapped value when explicitly chaining', function(assert) {
1750 QUnit.test('should create a function that invokes `func` after `n` calls', function(assert) {
1759 QUnit.test('should coerce `n` values of `NaN` to `0`', function(assert) {
1765 QUnit.test('should use `this` binding of function', function(assert) {
1788 QUnit.test('should bind a function to an object', function(assert) {
1797 QUnit.test('should accept a falsey `thisArg`', function(assert) {
1815 QUnit.test('should bind a function to nullish values', function(assert) {
1833 QUnit.test('should partially apply arguments ', function(assert) {
1849 QUnit.test('should support placeholders', function(assert) {
1862 QUnit.test('should use `_.placeholder` when set', function(assert) {
1879 QUnit.test('should create a function with a `length` of `0`', function(assert) {
1891 QUnit.test('should ignore binding when called with the `new` operator', function(assert) {
1906 …QUnit.test('should handle a number of arguments when called with the `new` operator', function(ass…
1940 QUnit.test('should ensure `new bound` is an instance of `func`', function(assert) {
1954 QUnit.test('should append array arguments to partially applied arguments', function(assert) {
1963 QUnit.test('should not rebind functions', function(assert) {
1979 QUnit.test('should not error when instantiating bound built-ins', function(assert) {
2000 …QUnit.test('should not error when calling bound class constructors with the `new` operator', funct…
2032 QUnit.test('should return a wrapped value when chaining', function(assert) {
2072 QUnit.test('should accept individual method names', function(assert) {
2085 QUnit.test('should accept arrays of method names', function(assert) {
2098 QUnit.test('should preserve the sign of `0`', function(assert) {
2112 QUnit.test('should work with an array `object`', function(assert) {
2120 QUnit.test('should work with `arguments` objects as secondary arguments', function(assert) {
2139 QUnit.test('should work when the target function is overwritten', function(assert) {
2159 QUnit.test('should support placeholders', function(assert) {
2177 QUnit.test('should use `_.placeholder` when set', function(assert) {
2199 QUnit.test('should ensure `new bound` is an instance of `object[key]`', function(assert) {
2238 …QUnit.test('`_.' + methodName + '` should convert `string` to ' + caseName + ' case', function(ass…
2249 QUnit.test('`_.' + methodName + '` should handle double-converting strings', function(assert) {
2260 QUnit.test('`_.' + methodName + '` should deburr letters', function(assert) {
2278 QUnit.test('`_.' + methodName + '` should remove contraction apostrophes', function(assert) {
2303 … QUnit.test('`_.' + methodName + '` should remove Latin mathematical operators', function(assert) {
2310 QUnit.test('`_.' + methodName + '` should coerce `string` to a string', function(assert) {
2318 …QUnit.test('`_.' + methodName + '` should return an unwrapped value implicitly when chaining', fun…
2329 …QUnit.test('`_.' + methodName + '` should return a wrapped value when explicitly chaining', functi…
2342 …QUnit.test('should get the original value after cycling through all case methods', function(assert…
2360 QUnit.test('should work with numbers', function(assert) {
2371 QUnit.test('should handle acronyms', function(assert) {
2393 QUnit.test('should capitalize the first character of a string', function(assert) {
2407 QUnit.test('should wrap non-array items in an array', function(assert) {
2417 QUnit.test('should return array values by reference', function(assert) {
2424 QUnit.test('should return an empty array when no arguments are given', function(assert) {
2436 QUnit.test('should return a wrapped value', function(assert) {
2448 QUnit.test('should return existing wrapped values', function(assert) {
2461 QUnit.test('should enable chaining for methods that return unwrapped values', function(assert) {
2481 QUnit.test('should chain multiple methods', function(assert) {
2540 QUnit.test('should return chunked arrays', function(assert) {
2547 QUnit.test('should return the last chunk as remaining elements', function(assert) {
2554 QUnit.test('should treat falsey `size` values, except `undefined`, as `0`', function(assert) {
2568 QUnit.test('should ensure the minimum `size` is `0`', function(assert) {
2581 QUnit.test('should coerce `size` to an integer', function(assert) {
2587 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
2600 QUnit.test('should work with a `max`', function(assert) {
2607 QUnit.test('should clamp negative numbers', function(assert) {
2615 QUnit.test('should clamp positive numbers', function(assert) {
2623 QUnit.test('should not alter negative numbers in range', function(assert) {
2631 QUnit.test('should not alter positive numbers in range', function(assert) {
2639 QUnit.test('should not alter `0` in range', function(assert) {
2645 QUnit.test('should clamp to `0`', function(assert) {
2651 QUnit.test('should not alter `-0` in range', function(assert) {
2657 QUnit.test('should clamp to `-0`', function(assert) {
2663 QUnit.test('should return `NaN` when `number` is `NaN`', function(assert) {
2669 QUnit.test('should coerce `min` and `max` of `NaN` to `0`', function(assert) {
2734 QUnit.test('`_.clone` should perform a shallow clone', function(assert) {
2744 … QUnit.test('`_.cloneDeep` should deep clone objects with circular references', function(assert) {
2759 …QUnit.test('`_.cloneDeep` should deep clone objects with lots of circular references', function(as…
2774 QUnit.test('`_.cloneDeepWith` should provide `stack` to `customizer`', function(assert) {
2794 QUnit.test('`_.' + methodName + '` should clone ' + kind, function(assert) {
2808 QUnit.test('`_.' + methodName + '` should clone array buffers', function(assert) {
2821 QUnit.test('`_.' + methodName + '` should clone buffers', function(assert) {
2840 …QUnit.test('`_.' + methodName + '` should clone `index` and `input` array properties', function(as…
2850 … QUnit.test('`_.' + methodName + '` should clone `lastIndex` regexp property', function(assert) {
2859 QUnit.test('`_.' + methodName + '` should clone expando properties', function(assert) {
2877 QUnit.test('`_.' + methodName + '` should clone prototype objects', function(assert) {
2886 … QUnit.test('`_.' + methodName + '` should set the `[[Prototype]]` of a clone', function(assert) {
2892 …QUnit.test('`_.' + methodName + '` should set the `[[Prototype]]` of a clone even when the `constr…
2900 …QUnit.test('`_.' + methodName + '` should ensure `value` constructor is a function before using it…
2908 …QUnit.test('`_.' + methodName + '` should clone properties that shadow those on `Object.prototype`…
2927 QUnit.test('`_.' + methodName + '` should clone symbol properties', function(assert) {
2968 QUnit.test('`_.' + methodName + '` should clone symbol objects', function(assert) {
2986 QUnit.test('`_.' + methodName + '` should not clone symbol primitives', function(assert) {
2997 QUnit.test('`_.' + methodName + '` should not error on DOM elements', function(assert) {
3014 …QUnit.test('`_.' + methodName + '` should create an object from the same realm as `value`', functi…
3040 …QUnit.test('`_.' + methodName + '` should perform a ' + (isDeep ? 'deep' : 'shallow') + ' clone wh…
3055 …QUnit.test('`_.' + methodName + '` should return a unwrapped value when chaining', function(assert…
3071 QUnit.test('`_.' + methodName + '` should clone ' + type + ' values', function(assert) {
3096 QUnit.test('`_.' + methodName + '` should not clone ' + key, function(assert) {
3119 …QUnit.test('`_.' + methodName + '` should provide correct `customizer` arguments', function(assert…
3135 …QUnit.test('`_.' + methodName + '` should handle cloning when `customizer` returns `undefined`', f…
3143 …QUnit.test('`_.' + methodName + '` should work with a `customizer` callback and ' + key, function(…
3170 QUnit.test('should filter falsey values', function(assert) {
3177 QUnit.test('should work when in-between lazy operators', function(assert) {
3192 QUnit.test('should work in a lazy sequence', function(assert) {
3204 QUnit.test('should work in a lazy sequence with a custom `_.iteratee`', function(assert) {
3232 QUnit.test('should shallow clone `array`', function(assert) {
3242 QUnit.test('should concat arrays and values', function(assert) {
3252 QUnit.test('should cast non-array `array` values to arrays', function(assert) {
3278 QUnit.test('should treat sparse arrays as dense', function(assert) {
3291 QUnit.test('should return a new wrapped array', function(assert) {
3313 QUnit.test('should create a conditional function', function(assert) {
3327 QUnit.test('should provide arguments to functions', function(assert) {
3345 QUnit.test('should work with predicate shorthands', function(assert) {
3359 QUnit.test('should return `undefined` when no condition is met', function(assert) {
3366 … QUnit.test('should throw a TypeError if `pairs` is not composed of functions', function(assert) {
3374 QUnit.test('should use `this` binding of function for `pairs`', function(assert) {
3391 QUnit.test('should not change behavior if `source` is modified', function(assert) {
3418 …QUnit.test('`_.' + methodName + '` should check if `object` conforms to `source`', function(assert…
3443 …QUnit.test('`_.' + methodName + '` should not match by inherited `source` properties', function(as…
3467 …QUnit.test('`_.' + methodName + '` should not invoke `source` predicates for missing `object` prop…
3480 QUnit.test('`_.' + methodName + '` should work with a function for `object`', function(assert) {
3497 QUnit.test('`_.' + methodName + '` should work with a function for `source`', function(assert) {
3509 QUnit.test('`_.' + methodName + '` should work with a non-plain `object`', function(assert) {
3524 …QUnit.test('`_.' + methodName + '` should return `false` when `object` is nullish', function(asser…
3543 …QUnit.test('`_.' + methodName + '` should return `true` when comparing an empty `source` to a null…
3559 …QUnit.test('`_.' + methodName + '` should return `true` when comparing an empty `source`', functio…
3579 QUnit.test('should create a function that returns `value`', function(assert) {
3598 QUnit.test('should work with falsey values', function(assert) {
3613 QUnit.test('should return a wrapped value when chaining', function(assert) {
3633 QUnit.test('should transform keys by `iteratee`', function(assert) {
3640 QUnit.test('should use `_.identity` when `iteratee` is nullish', function(assert) {
3654 QUnit.test('should work with `_.property` shorthands', function(assert) {
3661 QUnit.test('should only add values to own, not inherited, properties', function(assert) {
3672 QUnit.test('should work with a number for `iteratee`', function(assert) {
3685 QUnit.test('should work with an object for `collection`', function(assert) {
3692 QUnit.test('should work in a lazy sequence', function(assert) {
3725 …QUnit.test('should create an object that inherits from the given `prototype` object', function(ass…
3738 QUnit.test('should assign `properties` to the created object', function(assert) {
3751 QUnit.test('should assign own properties', function(assert) {
3763 QUnit.test('should assign properties that shadow those of `prototype`', function(assert) {
3773 QUnit.test('should accept a falsey `prototype`', function(assert) {
3785 …QUnit.test('should ignore a primitive `prototype` and use an empty object instead', function(asser…
3797 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
3821 QUnit.test('should curry based on the number of arguments given', function(assert) {
3832 QUnit.test('should allow specifying `arity`', function(assert) {
3843 QUnit.test('should coerce `arity` to an integer', function(assert) {
3857 QUnit.test('should support placeholders', function(assert) {
3869 QUnit.test('should persist placeholders', function(assert) {
3879 QUnit.test('should use `_.placeholder` when set', function(assert) {
3895 …QUnit.test('should provide additional arguments after reaching the target arity', function(assert)…
3904 QUnit.test('should create a function with a `length` of `0`', function(assert) {
3915 QUnit.test('should ensure `new curried` is an instance of `func`', function(assert) {
3929 QUnit.test('should use `this` binding of function', function(assert) {
3954 QUnit.test('should work with partialed methods', function(assert) {
3979 QUnit.test('should curry based on the number of arguments given', function(assert) {
3990 QUnit.test('should allow specifying `arity`', function(assert) {
4001 QUnit.test('should coerce `arity` to an integer', function(assert) {
4015 QUnit.test('should support placeholders', function(assert) {
4028 QUnit.test('should persist placeholders', function(assert) {
4038 QUnit.test('should use `_.placeholder` when set', function(assert) {
4054 …QUnit.test('should provide additional arguments after reaching the target arity', function(assert)…
4063 QUnit.test('should create a function with a `length` of `0`', function(assert) {
4074 QUnit.test('should ensure `new curried` is an instance of `func`', function(assert) {
4088 QUnit.test('should use `this` binding of function', function(assert) {
4113 QUnit.test('should work with partialed methods', function(assert) {
4138 …QUnit.test('`_.' + methodName + '` should not error on functions with the same name as lodash meth…
4154 …QUnit.test('`_.' + methodName + '` should work for function names that shadow those on `Object.pro…
4166 …QUnit.test('`_.' + methodName + '` should work as an iteratee for methods like `_.map`', function(…
4190 QUnit.test('should debounce a function', function(assert) {
4220 QUnit.test('subsequent debounced calls return the last `func` result', function(assert) {
4238 QUnit.test('should not immediately call `func` when `wait` is `0`', function(assert) {
4256 QUnit.test('should apply default options', function(assert) {
4273 QUnit.test('should support a `leading` option', function(assert) {
4305 … QUnit.test('subsequent leading debounced calls return the last `func` result', function(assert) {
4322 QUnit.test('should support a `trailing` option', function(assert) {
4351 QUnit.test('should support a `maxWait` option', function(assert) {
4380 QUnit.test('should support `maxWait` in a tight loop', function(assert) {
4409 …QUnit.test('should queue a trailing call for subsequent debounced calls after `maxWait`', function…
4432 QUnit.test('should cancel `maxDelayed` when `delayed` is invoked', function(assert) {
4456 …QUnit.test('should invoke the trailing call with the correct arguments and `this` binding', functi…
4489 QUnit.test('should convert Latin Unicode letters to basic Latin', function(assert) {
4496 QUnit.test('should not deburr Latin mathematical operators', function(assert) {
4505 QUnit.test('should deburr combining diacritical marks', function(assert) {
4523 QUnit.test('should assign source properties if missing on `object`', function(assert) {
4530 QUnit.test('should accept multiple sources', function(assert) {
4542 QUnit.test('should not overwrite `null` values', function(assert) {
4549 QUnit.test('should overwrite `undefined` values', function(assert) {
4556 QUnit.test('should assign `undefined` values', function(assert) {
4565 … QUnit.test('should assign properties that shadow those on `Object.prototype`', function(assert) {
4601 QUnit.test('should deep assign source properties if missing on `object`', function(assert) {
4611 QUnit.test('should accept multiple sources', function(assert) {
4624 QUnit.test('should not overwrite `null` values', function(assert) {
4634 QUnit.test('should not overwrite regexp values', function(assert) {
4644 QUnit.test('should not convert function properties to objects', function(assert) {
4654 QUnit.test('should overwrite `undefined` values', function(assert) {
4664 QUnit.test('should assign `undefined` values', function(assert) {
4674 QUnit.test('should merge sources containing circular references', function(assert) {
4697 QUnit.test('should not modify sources', function(assert) {
4709 QUnit.test('should not attempt a merge of a string into an array', function(assert) {
4716 QUnit.test('should not indirectly merge `Object` properties', function(assert) {
4733 QUnit.test('should return a default value if `value` is `NaN` or nullish', function(assert) {
4753 QUnit.test('should defer `func` execution', function(assert) {
4767 QUnit.test('should provide additional arguments to `func`', function(assert) {
4784 QUnit.test('should be cancelable', function(assert) {
4806 QUnit.test('should delay `func` execution', function(assert) {
4824 QUnit.test('should provide additional arguments to `func`', function(assert) {
4841 QUnit.test('should use a default `wait` of `0`', function(assert) {
4857 QUnit.test('should be cancelable', function(assert) {
4873 QUnit.test('should work with mocked `setTimeout`', function(assert) {
4899 … QUnit.test('`_.' + methodName + '` should return the difference of two arrays', function(assert) {
4906 …QUnit.test('`_.' + methodName + '` should return the difference of multiple arrays', function(asse…
4913 QUnit.test('`_.' + methodName + '` should treat `-0` as `0`', function(assert) {
4928 QUnit.test('`_.' + methodName + '` should match `NaN`', function(assert) {
4934 QUnit.test('`_.' + methodName + '` should work with large arrays', function(assert) {
4949 …QUnit.test('`_.' + methodName + '` should work with large arrays of `-0` as `0`', function(assert)…
4966 QUnit.test('`_.' + methodName + '` should work with large arrays of `NaN`', function(assert) {
4973 QUnit.test('`_.' + methodName + '` should work with large arrays of objects', function(assert) {
4983 …QUnit.test('`_.' + methodName + '` should ignore values that are not array-like', function(assert)…
4999 QUnit.test('should accept an `iteratee`', function(assert) {
5009 QUnit.test('should provide correct `iteratee` arguments', function(assert) {
5027 QUnit.test('should work with a `comparator`', function(assert) {
5036 QUnit.test('should preserve the sign of `0`', function(assert) {
5057 QUnit.test('should divide two numbers', function(assert) {
5065 QUnit.test('should coerce arguments to numbers', function(assert) {
5080 QUnit.test('should drop the first two elements', function(assert) {
5086 QUnit.test('should treat falsey `n` values, except `undefined`, as `0`', function(assert) {
5100 QUnit.test('should return all elements when `n` < `1`', function(assert) {
5108 QUnit.test('should return an empty array when `n` >= `length`', function(assert) {
5116 QUnit.test('should coerce `n` to an integer', function(assert) {
5122 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
5131 QUnit.test('should work in a lazy sequence', function(assert) {
5168 QUnit.test('should drop the last two elements', function(assert) {
5174 QUnit.test('should treat falsey `n` values, except `undefined`, as `0`', function(assert) {
5188 QUnit.test('should return all elements when `n` < `1`', function(assert) {
5196 QUnit.test('should return an empty array when `n` >= `length`', function(assert) {
5204 QUnit.test('should coerce `n` to an integer', function(assert) {
5210 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
5219 QUnit.test('should work in a lazy sequence', function(assert) {
5262 QUnit.test('should drop elements while `predicate` returns truthy', function(assert) {
5272 QUnit.test('should provide correct `predicate` arguments', function(assert) {
5284 QUnit.test('should work with `_.matches` shorthands', function(assert) {
5290 QUnit.test('should work with `_.matchesProperty` shorthands', function(assert) {
5296 QUnit.test('should work with `_.property` shorthands', function(assert) {
5302 QUnit.test('should return a wrapped value when chaining', function(assert) {
5332 QUnit.test('should drop elements while `predicate` returns truthy', function(assert) {
5342 QUnit.test('should provide correct `predicate` arguments', function(assert) {
5354 QUnit.test('should work with `_.matches` shorthands', function(assert) {
5360 QUnit.test('should work with `_.matchesProperty` shorthands', function(assert) {
5366 QUnit.test('should work with `_.property` shorthands', function(assert) {
5372 QUnit.test('should work in a lazy sequence', function(assert) {
5390 QUnit.test('should work in a lazy sequence with `drop`', function(assert) {
5417 QUnit.test('should return `true` if a string ends with `target`', function(assert) {
5423 QUnit.test('should return `false` if a string does not end with `target`', function(assert) {
5429 QUnit.test('should work with a `position`', function(assert) {
5435 QUnit.test('should work with `position` >= `length`', function(assert) {
5443 … QUnit.test('should treat falsey `position` values, except `undefined`, as `0`', function(assert) {
5455 QUnit.test('should treat a negative `position` as `0`', function(assert) {
5466 QUnit.test('should coerce `position` to an integer', function(assert) {
5478 QUnit.test('should perform a `SameValueZero` comparison of two values', function(assert) {
5509 QUnit.test('should escape values', function(assert) {
5515 QUnit.test('should handle strings with nothing to escape', function(assert) {
5521 QUnit.test('should escape the same characters unescaped by `_.unescape`', function(assert) {
5528 QUnit.test('should not escape the "' + chr + '" character', function(assert) {
5544 QUnit.test('should escape values', function(assert) {
5550 QUnit.test('should handle strings with nothing to escape', function(assert) {
5556 QUnit.test('should return an empty string for empty values', function(assert) {
5575 …QUnit.test('should return `true` if `predicate` returns truthy for all elements', function(assert)…
5581 QUnit.test('should return `true` for empty collections', function(assert) {
5595 QUnit.test('should return `false` as soon as `predicate` returns falsey', function(assert) {
5608 …QUnit.test('should work with collections of `undefined` values (test in IE < 9)', function(assert)…
5614 QUnit.test('should use `_.identity` when `predicate` is nullish', function(assert) {
5636 QUnit.test('should work with `_.property` shorthands', function(assert) {
5644 QUnit.test('should work with `_.matches` shorthands', function(assert) {
5652 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
5668 …QUnit.test('`_.' + methodName + '` should ' + (isStrict ? '' : 'not ') + 'throw strict mode errors…
5688 …QUnit.test('should use a default `start` of `0` and a default `end` of `length`', function(assert)…
5695 QUnit.test('should use `undefined` for `value` if not given', function(assert) {
5707 QUnit.test('should work with a positive `start`', function(assert) {
5714 QUnit.test('should work with a `start` >= `length`', function(assert) {
5723 QUnit.test('should treat falsey `start` values as `0`', function(assert) {
5736 QUnit.test('should work with a negative `start`', function(assert) {
5743 QUnit.test('should work with a negative `start` <= negative `length`', function(assert) {
5752 QUnit.test('should work with `start` >= `end`', function(assert) {
5761 QUnit.test('should work with a positive `end`', function(assert) {
5768 QUnit.test('should work with a `end` >= `length`', function(assert) {
5777 QUnit.test('should treat falsey `end` values, except `undefined`, as `0`', function(assert) {
5792 QUnit.test('should work with a negative `end`', function(assert) {
5799 QUnit.test('should work with a negative `end` <= negative `length`', function(assert) {
5808 QUnit.test('should coerce `start` and `end` to integers', function(assert) {
5821 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
5830 QUnit.test('should return a wrapped value when chaining', function(assert) {
5855 QUnit.test('should return elements `predicate` returns truthy for', function(assert) {
5885 QUnit.test('`_.' + methodName + '` should return the found value', function(assert) {
5891 …QUnit.test('`_.' + methodName + '` should return `' + expected[1] + '` if value is not found', fun…
5897 QUnit.test('`_.' + methodName + '` should work with `_.matches` shorthands', function(assert) {
5903 …QUnit.test('`_.' + methodName + '` should work with `_.matchesProperty` shorthands', function(asse…
5909 QUnit.test('`_.' + methodName + '` should work with `_.property` shorthands', function(assert) {
5915 …QUnit.test('`_.' + methodName + '` should return `' + expected[1] + '` for empty collections', fun…
5930 …QUnit.test('`_.' + methodName + '` should return an unwrapped value when implicitly chaining', fun…
5950 …QUnit.test('`_.' + methodName + '` should return a wrapped value when explicitly chaining', functi…
5961 …QUnit.test('`_.' + methodName + '` should not execute immediately when explicitly chaining', funct…
5973 QUnit.test('`_.' + methodName + '` should work in a lazy sequence', function(assert) {
5996 …QUnit.test('`_.' + methodName + '` should provide correct `predicate` arguments for arrays', funct…
6013 …QUnit.test('`_.' + methodName + '` should work with an object for `collection`', function(assert) {
6030 …QUnit.test('`_.' + methodName + '` should provide correct `predicate` arguments for objects', func…
6051 QUnit.test('`_.' + methodName + '` should support shortcut fusion', function(assert) {
6088 …QUnit.test('`_.' + methodName + '` should work with ' + key + ' and a positive `fromIndex`', funct…
6104 …QUnit.test('`_.' + methodName + '` should work with ' + key + ' and a `fromIndex` >= `length`', fu…
6125 …QUnit.test('`_.' + methodName + '` should work with ' + key + ' and treat falsey `fromIndex` value…
6137 …QUnit.test('`_.' + methodName + '` should work with ' + key + ' and coerce `fromIndex` to an integ…
6155 …QUnit.test('`_.' + methodName + '` should work with ' + key + ' and a negative `fromIndex`', funct…
6171 …QUnit.test('`_.' + methodName + '` should work with ' + key + ' and a negative `fromIndex` <= `-le…
6195 …QUnit.test('`_.' + methodName + '` should return the index of the first matched value', function(a…
6201 QUnit.test('`_.' + methodName + '` should work with a positive `fromIndex`', function(assert) {
6207 … QUnit.test('`_.' + methodName + '` should work with a `fromIndex` >= `length`', function(assert) {
6224 QUnit.test('`_.' + methodName + '` should work with a negative `fromIndex`', function(assert) {
6230 …QUnit.test('`_.' + methodName + '` should work with a negative `fromIndex` <= `-length`', function…
6243 …QUnit.test('`_.' + methodName + '` should treat falsey `fromIndex` values as `0`', function(assert…
6255 QUnit.test('`_.' + methodName + '` should coerce `fromIndex` to an integer', function(assert) {
6276 QUnit.test('should work with ' + key + ' and a positive `fromIndex`', function(assert) {
6292 QUnit.test('should work with ' + key + ' and a `fromIndex` >= `length`', function(assert) {
6310 …QUnit.test('should work with ' + key + ' and treat falsey `fromIndex` values correctly', function(…
6324 … QUnit.test('should work with ' + key + ' and coerce `fromIndex` to an integer', function(assert) {
6342 QUnit.test('should work with ' + key + ' and a negative `fromIndex`', function(assert) {
6358 …QUnit.test('should work with ' + key + ' and a negative `fromIndex` <= `-length`', function(assert…
6382 QUnit.test('should flip arguments provided to `func`', function(assert) {
6397 QUnit.test('should use a default `depth` of `1`', function(assert) {
6403 QUnit.test('should use `_.identity` when `iteratee` is nullish', function(assert) {
6416 QUnit.test('should treat a `depth` of < `1` as a shallow clone', function(assert) {
6424 QUnit.test('should coerce `depth` to an integer', function(assert) {
6443 …QUnit.test('`_.' + methodName + '` should map values in `array` to a new flattened array', functio…
6452 QUnit.test('`_.' + methodName + '` should work with `_.property` shorthands', function(assert) {
6459 …QUnit.test('`_.' + methodName + '` should iterate over own string keyed properties of objects', fu…
6471 …QUnit.test('`_.' + methodName + '` should use `_.identity` when `iteratee` is nullish', function(a…
6488 QUnit.test('`_.' + methodName + '` should accept a falsey `collection`', function(assert) {
6502 …QUnit.test('`_.' + methodName + '` should treat number values for `collection` as empty', function…
6508 …QUnit.test('`_.' + methodName + '` should work with objects with non-number length properties', fu…
6523 QUnit.test('should use a default `depth` of `1`', function(assert) {
6529 QUnit.test('should treat a `depth` of < `1` as a shallow clone', function(assert) {
6537 QUnit.test('should coerce `depth` to an integer', function(assert) {
6552 QUnit.test('should flatten `arguments` objects', function(assert) {
6562 QUnit.test('should treat sparse arrays as dense', function(assert) {
6577 …QUnit.test('should flatten objects with a truthy `Symbol.isConcatSpreadable` value', function(asse…
6598 QUnit.test('should work with extremely large arrays', function(assert) {
6617 QUnit.test('should work with empty arrays', function(assert) {
6627 QUnit.test('should support flattening of nested arrays', function(assert) {
6635 QUnit.test('should return an empty array for non array-like objects', function(assert) {
6646 QUnit.test('should return a wrapped value when chaining', function(assert) {
6680 …QUnit.test('`_.' + methodName + '` should supply each function with the return value of the previo…
6689 QUnit.test('`_.' + methodName + '` should return a new function', function(assert) {
6695 …QUnit.test('`_.' + methodName + '` should return an identity function when no arguments are given'…
6710 …QUnit.test('`_.' + methodName + '` should work with a curried function and `_.head`', function(ass…
6722 QUnit.test('`_.' + methodName + '` should support shortcut fusion', function(assert) {
6764 …QUnit.test('`_.' + methodName + '` should work with curried functions with placeholders', function…
6778 …QUnit.test('`_.' + methodName + '` should return a wrapped value when chaining', function(assert) {
6796 QUnit.test('should be aliased', function(assert) {
6808 QUnit.test('should be aliased', function(assert) {
6822 …QUnit.test('`_.' + methodName + '` iterates over inherited string keyed properties', function(asse…
6843 QUnit.test('`_.' + methodName + '` should iterate over `length` properties', function(assert) {
6981 isBy = /(^partition|By)$/.test(methodName),
6982 isFind = /^find/.test(methodName),
6983 isOmitPick = /^(?:omit|pick)By$/.test(methodName),
6986 … QUnit.test('`_.' + methodName + '` should provide correct iteratee arguments', function(assert) {
7014 QUnit.test('`_.' + methodName + '` should treat sparse arrays as dense', function(assert) {
7060 …QUnit.test('`_.' + methodName + '` should not iterate custom properties on arrays', function(asser…
7082 …QUnit.test('`_.' + methodName + '` should return a wrapped value when implicitly chaining', functi…
7098 …QUnit.test('`_.' + methodName + '` should return an unwrapped value when implicitly chaining', fun…
7110 …QUnit.test('`_.' + methodName + '` should return a wrapped value when explicitly chaining', functi…
7129 …QUnit.test('`_.' + methodName + '` iterates over own string keyed properties of objects', function…
7152 QUnit.test('`_.' + methodName + '` should return the collection', function(assert) {
7167 …QUnit.test('`_.' + methodName + '` should use `isArrayLike` to determine whether a value is array-…
7199 isFind = /^find/.test(methodName),
7201 isReduce = /^reduce/.test(methodName);
7203 QUnit.test('`_.' + methodName + '` should ignore changes to `length`', function(assert) {
7227 isFind = /^find/.test(methodName),
7229 isReduce = /^reduce/.test(methodName);
7231 … QUnit.test('`_.' + methodName + '` should ignore added `object` properties', function(assert) {
7261 isDefaults = /^defaults/.test(methodName);
7263 QUnit.test('`_.' + methodName + '` should coerce primitives to objects', function(assert) {
7279 …QUnit.test('`_.' + methodName + '` should assign own ' + (isAssign ? '' : 'and inherited ') + 'str…
7291 … QUnit.test('`_.' + methodName + '` should not skip a trailing function source', function(assert) {
7300 QUnit.test('`_.' + methodName + '` should not error on nullish sources', function(assert) {
7310 …QUnit.test('`_.' + methodName + '` should create an object when `object` is nullish', function(ass…
7331 …QUnit.test('`_.' + methodName + '` should work as an iteratee for methods like `_.reduce`', functi…
7346 …QUnit.test('`_.' + methodName + '` should not return the existing wrapped value when chaining', fu…
7364 QUnit.test('`_.' + methodName + '` should not treat `object` as `source`', function(assert) {
7378 …QUnit.test('`_.' + methodName + '` should not assign values that are the same as their destination…
7402 …QUnit.test('`_.' + methodName + '` should provide correct `customizer` arguments', function(assert…
7445 …QUnit.test('`_.' + methodName + '` should not treat the second argument as a `customizer` callback…
7466 QUnit.test('`_.' + methodName + '` can exit early when iterating arrays', function(assert) {
7485 QUnit.test('`_.' + methodName + '` can exit early when iterating objects', function(assert) {
7510 QUnit.test('should work with the "__proto__" key in internal data objects', function(assert) {
7527 QUnit.test('should treat "__proto__" as a regular key in assignments', function(assert) {
7554 QUnit.test('should not merge "__proto__" properties', function(assert) {
7569 QUnit.test('should not indirectly merge builtin prototype properties', function(assert) {
7587 QUnit.test('should not indirectly merge `Object` properties', function(assert) {
7604 QUnit.test('should accept a two dimensional array', function(assert) {
7614 QUnit.test('should accept a falsey `array`', function(assert) {
7628 QUnit.test('should not support deep paths', function(assert) {
7635 QUnit.test('should support consuming the return value of `_.toPairs`', function(assert) {
7642 QUnit.test('should work in a lazy sequence', function(assert) {
7665 QUnit.test('should return the function names of an object', function(assert) {
7674 QUnit.test('should not include inherited functions', function(assert) {
7694 QUnit.test('should transform keys by `iteratee`', function(assert) {
7701 QUnit.test('should use `_.identity` when `iteratee` is nullish', function(assert) {
7715 QUnit.test('should work with `_.property` shorthands', function(assert) {
7722 QUnit.test('should only add values to own, not inherited, properties', function(assert) {
7733 QUnit.test('should work with a number for `iteratee`', function(assert) {
7746 QUnit.test('should work with an object for `collection`', function(assert) {
7753 QUnit.test('should work in a lazy sequence', function(assert) {
7779 QUnit.test('should return `true` if `value` > `other`', function(assert) {
7786 QUnit.test('should return `false` if `value` is <= `other`', function(assert) {
7801 QUnit.test('should return `true` if `value` >= `other`', function(assert) {
7810 QUnit.test('should return `false` if `value` is less than `other`', function(assert) {
7832 QUnit.test('`_.' + methodName + '` should check for own properties', function(assert) {
7842 …QUnit.test('`_.' + methodName + '` should not use the `hasOwnProperty` method of `object`', functi…
7849 QUnit.test('`_.' + methodName + '` should support deep paths', function(assert) {
7863 QUnit.test('`_.' + methodName + '` should coerce `path` to a string', function(assert) {
7882 QUnit.test('`_.' + methodName + '` should work with `arguments` objects', function(assert) {
7888 QUnit.test('`_.' + methodName + '` should work with a non-string `path`', function(assert) {
7898 QUnit.test('`_.' + methodName + '` should preserve the sign of `0`', function(assert) {
7912 QUnit.test('`_.' + methodName + '` should work with a symbol `path`', function(assert) {
7937 QUnit.test('`_.' + methodName + '` should check for a key over a path', function(assert) {
7947 …QUnit.test('`_.' + methodName + '` should return `true` for indexes of sparse values', function(as…
7960 …QUnit.test('`_.' + methodName + '` should return `true` for indexes of sparse values with deep pat…
7975 …QUnit.test('`_.' + methodName + '` should return `' + (isHas ? 'false' : 'true') + '` for inherite…
7986 …QUnit.test('`_.' + methodName + '` should return `' + (isHas ? 'false' : 'true') + '` for nested i…
7997 …QUnit.test('`_.' + methodName + '` should return `false` when `object` is nullish', function(asser…
8012 …QUnit.test('`_.' + methodName + '` should return `false` for deep paths when `object` is nullish',…
8027 …QUnit.test('`_.' + methodName + '` should return `false` for nullish values of nested objects', fu…
8043 …QUnit.test('`_.' + methodName + '` should return `false` over sparse values of deep paths', functi…
8066 QUnit.test('should return the first element', function(assert) {
8072 QUnit.test('should return `undefined` when querying empty arrays', function(assert) {
8080 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
8089 QUnit.test('should be aliased', function(assert) {
8095 QUnit.test('should return an unwrapped value when implicitly chaining', function(assert) {
8108 QUnit.test('should return a wrapped value when explicitly chaining', function(assert) {
8121 QUnit.test('should not execute immediately when explicitly chaining', function(assert) {
8134 QUnit.test('should work in a lazy sequence', function(assert) {
8161 QUnit.test('should return the first argument given', function(assert) {
8181 …QUnit.test('should work with ' + key + ' and return `true` for matched values', function(assert)…
8187 …QUnit.test('should work with ' + key + ' and return `false` for unmatched values', function(asser…
8193 QUnit.test('should work with ' + key + ' and floor `position` values', function(assert) {
8199 …QUnit.test('should work with ' + key + ' and return an unwrapped value implicitly when chaining', …
8210 …QUnit.test('should work with ' + key + ' and return a wrapped value when explicitly chaining', fun…
8227 QUnit.test('should work with a string ' + key + ' for `collection`', function(assert) {
8235 QUnit.test('should return `false` for empty collections', function(assert) {
8249 QUnit.test('should work with a string and a `fromIndex` >= `length`', function(assert) {
8271 QUnit.test('should match `NaN`', function(assert) {
8277 QUnit.test('should match `-0` as `0`', function(assert) {
8284 QUnit.test('should work as an iteratee for methods like `_.every`', function(assert) {
8301 QUnit.test('should accept a falsey `array`', function(assert) {
8315 QUnit.test('should exclude last element', function(assert) {
8321 QUnit.test('should return an empty when querying empty arrays', function(assert) {
8327 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
8336 QUnit.test('should work in a lazy sequence', function(assert) {
8375 QUnit.test('should work with an `end`', 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) {
8412 QUnit.test('should work with a floating point `n` value', function(assert) {
8421 QUnit.test('should coerce arguments to finite numbers', function(assert) {
8443 …QUnit.test('`_.' + methodName + '` should return the intersection of two arrays', function(assert)…
8450 …QUnit.test('`_.' + methodName + '` should return the intersection of multiple arrays', function(as…
8457 QUnit.test('`_.' + methodName + '` should return an array of unique values', function(assert) {
8464 QUnit.test('`_.' + methodName + '` should work with a single array', function(assert) {
8471 QUnit.test('`_.' + methodName + '` should work with `arguments` objects', function(assert) {
8481 QUnit.test('`_.' + methodName + '` should treat `-0` as `0`', function(assert) {
8494 QUnit.test('`_.' + methodName + '` should match `NaN`', function(assert) {
8501 …QUnit.test('`_.' + methodName + '` should work with large arrays of `-0` as `0`', function(assert)…
8515 QUnit.test('`_.' + methodName + '` should work with large arrays of `NaN`', function(assert) {
8522 QUnit.test('`_.' + methodName + '` should work with large arrays of objects', function(assert) {
8532 …QUnit.test('`_.' + methodName + '` should treat values that are not arrays or `arguments` objects …
8541 …QUnit.test('`_.' + methodName + '` should return a wrapped value when chaining', function(assert) {
8560 QUnit.test('should accept an `iteratee`', function(assert) {
8570 QUnit.test('should provide correct `iteratee` arguments', function(assert) {
8588 QUnit.test('should work with a `comparator`', function(assert) {
8598 QUnit.test('should preserve the sign of `0`', function(assert) {
8619 QUnit.test('should invert an object', function(assert) {
8629 QUnit.test('should work with values that shadow keys on `Object.prototype`', function(assert) {
8636 QUnit.test('should work with an object that has a `length` property', function(assert) {
8643 QUnit.test('should return a wrapped value when chaining', function(assert) {
8666 QUnit.test('should transform keys by `iteratee`', function(assert) {
8678 QUnit.test('should use `_.identity` when `iteratee` is nullish', function(assert) {
8691 … QUnit.test('should only add multiple values to own, not inherited, properties', function(assert) {
8700 QUnit.test('should return a wrapped value when chaining', function(assert) {
8720 QUnit.test('should invoke a method on `object`', function(assert) {
8729 QUnit.test('should support invoking with arguments', function(assert) {
8738 QUnit.test('should not error on nullish elements', function(assert) {
8753 QUnit.test('should preserve the sign of `0`', function(assert) {
8766 QUnit.test('should support deep paths', function(assert) {
8777 …QUnit.test('should invoke deep property methods with the correct `this` binding', function(assert)…
8787 QUnit.test('should return an unwrapped value when implicitly chaining', function(assert) {
8799 QUnit.test('should return a wrapped value when explicitly chaining', function(assert) {
8817 QUnit.test('should invoke a methods on each element of `collection`', function(assert) {
8826 QUnit.test('should support invoking with arguments', function(assert) {
8835 QUnit.test('should work with a function for `methodName`', function(assert) {
8847 QUnit.test('should work with an object for `collection`', function(assert) {
8856 QUnit.test('should treat number values for `collection` as empty', function(assert) {
8862 QUnit.test('should not error on nullish elements', function(assert) {
8874 QUnit.test('should not error on elements with missing properties', function(assert) {
8892 …QUnit.test('should invoke deep property methods with the correct `this` binding', function(assert)…
8902 QUnit.test('should return a wrapped value when chaining', function(assert) {
8925 QUnit.test('should support shortcut fusion', function(assert) {
8952 QUnit.test('should return `true` for `arguments` objects', function(assert) {
8959 QUnit.test('should return `false` for non `arguments` objects', function(assert) {
8983 QUnit.test('should work with an `arguments` object from another realm', function(assert) {
9000 QUnit.test('should return `true` for arrays', function(assert) {
9006 QUnit.test('should return `false` for non-arrays', function(assert) {
9030 QUnit.test('should work with an array from another realm', function(assert) {
9047 QUnit.test('should return `true` for array buffers', function(assert) {
9058 QUnit.test('should return `false` for non array buffers', function(assert) {
9083 QUnit.test('should work with array buffers from another realm', function(assert) {
9100 QUnit.test('should return `true` for array-like values', function(assert) {
9110 QUnit.test('should return `false` for non-arrays', function(assert) {
9136 QUnit.test('should work with an array from another realm', function(assert) {
9157 QUnit.test('should return `true` for booleans', function(assert) {
9166 QUnit.test('should return `false` for non-booleans', function(assert) {
9192 QUnit.test('should work with a boolean from another realm', function(assert) {
9209 QUnit.test('should return `true` for buffers', function(assert) {
9220 QUnit.test('should return `false` for non-buffers', function(assert) {
9245 QUnit.test('should return `false` if `Buffer` is not defined', function(assert) {
9262 QUnit.test('should return `true` for dates', function(assert) {
9268 QUnit.test('should return `false` for non-dates', function(assert) {
9292 QUnit.test('should work with a date object from another realm', function(assert) {
9309 QUnit.test('should return `true` for elements', function(assert) {
9320 QUnit.test('should return `true` for non-plain objects', function(assert) {
9330 QUnit.test('should return `false` for non DOM elements', function(assert) {
9355 QUnit.test('should return `false` for plain objects', function(assert) {
9366 QUnit.test('should work with a DOM element from another realm', function(assert) {
9383 QUnit.test('should return `true` for empty values', function(assert) {
9408 QUnit.test('should return `false` for non-empty values', function(assert) {
9416 QUnit.test('should work with an object that has a `length` property', function(assert) {
9422 QUnit.test('should work with `arguments` objects', function(assert) {
9428 QUnit.test('should work with prototytpe objects', function(assert) {
9440 QUnit.test('should work with jQuery/MooTools DOM query collections', function(assert) {
9451 QUnit.test('should work with maps', function(assert) {
9467 QUnit.test('should work with sets', function(assert) {
9483 QUnit.test('should not treat objects with negative lengths as array-like', function(assert) {
9492 …QUnit.test('should not treat objects with lengths larger than `MAX_SAFE_INTEGER` as array-like', f…
9501 QUnit.test('should not treat objects with non-number lengths as array-like', function(assert) {
9507 QUnit.test('should return an unwrapped value when implicitly chaining', function(assert) {
9518 QUnit.test('should return a wrapped value when explicitly chaining', function(assert) {
9538 QUnit.test('should compare primitives', function(assert) {
9564 QUnit.test('should compare arrays', function(assert) {
9602 …QUnit.test('should treat arrays with identical values but different non-index properties as equal'…
9632 QUnit.test('should compare sparse arrays', function(assert) {
9642 QUnit.test('should compare plain objects', function(assert) {
9671 QUnit.test('should compare objects regardless of key order', function(assert) {
9680 QUnit.test('should compare nested objects', function(assert) {
9714 QUnit.test('should compare object instances', function(assert) {
9733 QUnit.test('should compare objects with constructor properties', function(assert) {
9743 QUnit.test('should compare arrays with circular references', function(assert) {
9771 …QUnit.test('should have transitive equivalence for circular references of arrays', function(assert…
9785 QUnit.test('should compare objects with circular references', function(assert) {
9813 …QUnit.test('should have transitive equivalence for circular references of objects', function(asser…
9827 QUnit.test('should compare objects with multiple circular references', function(assert) {
9849 QUnit.test('should compare objects with complex circular references', function(assert) {
9871 QUnit.test('should compare objects with shared property values', function(assert) {
9888 …QUnit.test('should treat objects created by `Object.create(null)` like plain objects', function(as…
9905 QUnit.test('should avoid common type coercions', function(assert) {
9919 QUnit.test('should compare `arguments` objects', function(assert) {
9930 QUnit.test('should treat `arguments` objects like `Object` objects', function(assert) {
9944 QUnit.test('should compare array buffers', function(assert) {
9958 QUnit.test('should compare array views', function(assert) {
9985 QUnit.test('should compare buffers', function(assert) {
10000 QUnit.test('should compare date objects', function(assert) {
10011 QUnit.test('should compare error objects', function(assert) {
10039 QUnit.test('should compare functions', function(assert) {
10049 QUnit.test('should compare maps', function(assert) {
10081 QUnit.test('should compare maps with circular references', function(assert) {
10101 QUnit.test('should compare promises by reference', function(assert) {
10118 QUnit.test('should compare regexes', function(assert) {
10128 QUnit.test('should compare sets', function(assert) {
10160 QUnit.test('should compare sets with circular references', function(assert) {
10180 QUnit.test('should compare symbol properties', function(assert) {
10211 QUnit.test('should compare wrapped values', function(assert) {
10249 QUnit.test('should compare wrapped and non-wrapped values', function(assert) {
10270 QUnit.test('should work as an iteratee for `_.every`', function(assert) {
10277 QUnit.test('should not error on DOM elements', function(assert) {
10295 QUnit.test('should return `true` for like-objects from different documents', function(assert) {
10309 … QUnit.test('should return `false` for objects with custom `toString` methods', function(assert) {
10325 QUnit.test('should return an unwrapped value when implicitly chaining', function(assert) {
10336 QUnit.test('should return a wrapped value when explicitly chaining', function(assert) {
10353 QUnit.test('should provide correct `customizer` arguments', function(assert) {
10381 QUnit.test('should handle comparisons when `customizer` returns `undefined`', function(assert) {
10389 QUnit.test('should not handle comparisons when `customizer` returns `true`', function(assert) {
10401 QUnit.test('should not handle comparisons when `customizer` returns `false`', function(assert) {
10413 QUnit.test('should return a boolean value even when `customizer` does not', function(assert) {
10430 QUnit.test('should ensure `customizer` is a function', function(assert) {
10440 QUnit.test('should call `customizer` for values maps and sets', function(assert) {
10495 QUnit.test('should return `true` for error objects', function(assert) {
10507 QUnit.test('should return `true` for subclassed values', function(assert) {
10513 QUnit.test('should return `false` for non error objects', function(assert) {
10537 QUnit.test('should return `false` for plain objects', function(assert) {
10543 QUnit.test('should work with an error object from another realm', function(assert) {
10566 QUnit.test('should return `true` for finite values', function(assert) {
10576 QUnit.test('should return `false` for non-finite values', function(assert) {
10586 QUnit.test('should return `false` for non-numeric values', function(assert) {
10606 QUnit.test('should return `false` for numeric string values', function(assert) {
10622 QUnit.test('should return `true` for functions', function(assert) {
10629 QUnit.test('should return `true` for async functions', function(assert) {
10635 QUnit.test('should return `true` for generator functions', function(assert) {
10641 QUnit.test('should return `true` for the `Proxy` constructor', function(assert) {
10652 QUnit.test('should return `true` for array view constructors', function(assert) {
10666 QUnit.test('should return `false` for non-functions', function(assert) {
10696 QUnit.test('should work with a function from another realm', function(assert) {
10716 QUnit.test('`_.' + methodName + '` should return `true` for integer values', function(assert) {
10730 QUnit.test('should return `false` for non-integer number values', function(assert) {
10743 QUnit.test('should return `false` for non-numeric values', function(assert) {
10773 QUnit.test('should return `true` for lengths', function(assert) {
10783 QUnit.test('should return `false` for non-lengths', function(assert) {
10799 QUnit.test('should return `true` for maps', function(assert) {
10810 QUnit.test('should return `false` for non-maps', function(assert) {
10836 …QUnit.test('should work for objects with a non-function `constructor` (test in IE 11)', function(a…
10849 QUnit.test('should work with maps from another realm', function(assert) {
10866 QUnit.test('should provide correct `customizer` arguments', function(assert) {
10894 QUnit.test('should handle comparisons when `customizer` returns `undefined`', function(assert) {
10900 QUnit.test('should not handle comparisons when `customizer` returns `true`', function(assert) {
10911 QUnit.test('should not handle comparisons when `customizer` returns `false`', function(assert) {
10922 QUnit.test('should return a boolean value even when `customizer` does not', function(assert) {
10940 QUnit.test('should provide `stack` to `customizer`', function(assert) {
10955 QUnit.test('should ensure `customizer` is a function', function(assert) {
10965 QUnit.test('should call `customizer` for values maps and sets', function(assert) {
11019 QUnit.test('should return `true` for NaNs', function(assert) {
11026 QUnit.test('should return `false` for non-NaNs', function(assert) {
11054 QUnit.test('should work with `NaN` from another realm', function(assert) {
11071 QUnit.test('should return `true` for native methods', function(assert) {
11081 QUnit.test('should return `false` for non-native methods', function(assert) {
11105 QUnit.test('should work with native functions from another realm', function(assert) {
11122 QUnit.test('should throw an error if core-js is detected', function(assert) {
11137 QUnit.test('should detect methods masquerading as native (test in Node.js)', function(assert) {
11170 QUnit.test('should return `true` for nullish values', function(assert) {
11178 QUnit.test('should return `false` for non-nullish values', function(assert) {
11211 QUnit.test('should work with nils from another realm', function(assert) {
11229 QUnit.test('should return `true` for `null` values', function(assert) {
11235 QUnit.test('should return `false` for non `null` values', function(assert) {
11262 QUnit.test('should work with nulls from another realm', function(assert) {
11279 QUnit.test('should return `true` for numbers', function(assert) {
11287 QUnit.test('should return `false` for non-numbers', function(assert) {
11313 QUnit.test('should work with numbers from another realm', function(assert) {
11330 QUnit.test('should return `true` for objects', function(assert) {
11359 QUnit.test('should return `false` for non-objects', function(assert) {
11372 QUnit.test('should work with objects from another realm', function(assert) {
11401 QUnit.test('should return `true` for objects', function(assert) {
11415 QUnit.test('should return `false` for non-objects', function(assert) {
11428 QUnit.test('should work with objects from another realm', function(assert) {
11452 QUnit.test('should detect plain objects', function(assert) {
11466 … QUnit.test('should return `true` for objects with a `[[Prototype]]` of `null`', function(assert) {
11476 QUnit.test('should return `true` for objects with a `valueOf` property', function(assert) {
11482 …QUnit.test('should return `true` for objects with a writable `Symbol.toStringTag` property', funct…
11496 QUnit.test('should return `false` for objects with a custom `[[Prototype]]`', function(assert) {
11503 QUnit.test('should return `false` for DOM elements', function(assert) {
11513 QUnit.test('should return `false` for non-Object objects', function(assert) {
11521 QUnit.test('should return `false` for non-objects', function(assert) {
11537 …QUnit.test('should return `false` for objects with a read-only `Symbol.toStringTag` property', fun…
11556 QUnit.test('should not mutate `value`', function(assert) {
11572 QUnit.test('should work with objects from another realm', function(assert) {
11589 QUnit.test('should return `true` for regexes', function(assert) {
11596 QUnit.test('should return `false` for non-regexes', function(assert) {
11620 QUnit.test('should work with regexes from another realm', function(assert) {
11637 QUnit.test('should return `true` for sets', function(assert) {
11648 QUnit.test('should return `false` for non-sets', function(assert) {
11674 …QUnit.test('should work for objects with a non-function `constructor` (test in IE 11)', function(a…
11687 QUnit.test('should work with weak sets from another realm', function(assert) {
11704 QUnit.test('should return `true` for strings', function(assert) {
11711 QUnit.test('should return `false` for non-strings', function(assert) {
11737 QUnit.test('should work with strings from another realm', function(assert) {
11754 QUnit.test('should return `true` for symbols', function(assert) {
11766 QUnit.test('should return `false` for non-symbols', function(assert) {
11790 QUnit.test('should work with symbols from another realm', function(assert) {
11807 QUnit.test('should return `true` for typed arrays', function(assert) {
11822 QUnit.test('should return `false` for non typed arrays', function(assert) {
11847 QUnit.test('should work with typed arrays from another realm', function(assert) {
11875 QUnit.test('should return `true` for `undefined` values', function(assert) {
11882 QUnit.test('should return `false` for non `undefined` values', function(assert) {
11915 QUnit.test('should work with `undefined` from another realm', function(assert) {
11932 QUnit.test('should return `true` for weak maps', function(assert) {
11943 QUnit.test('should return `false` for non weak maps', function(assert) {
11969 …QUnit.test('should work for objects with a non-function `constructor` (test in IE 11)', function(a…
11982 QUnit.test('should work with weak maps from another realm', function(assert) {
11999 QUnit.test('should return `true` for weak sets', function(assert) {
12010 QUnit.test('should return `false` for non weak sets', function(assert) {
12036 QUnit.test('should work with weak sets from another realm', function(assert) {
12053 QUnit.test('should return `false` for subclassed values', function(assert) {
12075 QUnit.test('should not error on host objects (test in IE)', function(assert) {
12103 QUnit.test('should provide arguments to `func`', function(assert) {
12113 QUnit.test('should return `_.identity` when `func` is nullish', function(assert) {
12128 …QUnit.test('should return an iteratee created by `_.matches` when `func` is an object', function(a…
12136 QUnit.test('should not change `_.matches` behavior if `source` is modified', function(assert) {
12165 …QUnit.test('should return an iteratee created by `_.matchesProperty` when `func` is an array', fun…
12180 QUnit.test('should support deep paths for `_.matchesProperty` shorthands', function(assert) {
12189 …QUnit.test('should not change `_.matchesProperty` behavior if `source` is modified', function(asse…
12218 …QUnit.test('should return an iteratee created by `_.property` when `func` is a number or string', …
12230 QUnit.test('should support deep paths for `_.property` shorthands', function(assert) {
12239 …QUnit.test('should work with functions created by `_.partial` and `_.partialRight`', function(asse…
12257 QUnit.test('should use internal `iteratee` if external is unavailable', function(assert) {
12268 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
12307 QUnit.test('`_.countBy` should use `_.iteratee` internally', function(assert) {
12320 QUnit.test('`_.differenceBy` should use `_.iteratee` internally', function(assert) {
12333 QUnit.test('`_.dropRightWhile` should use `_.iteratee` internally', function(assert) {
12346 QUnit.test('`_.dropWhile` should use `_.iteratee` internally', function(assert) {
12359 QUnit.test('`_.every` should use `_.iteratee` internally', function(assert) {
12372 QUnit.test('`_.filter` should use `_.iteratee` internally', function(assert) {
12387 QUnit.test('`_.find` should use `_.iteratee` internally', function(assert) {
12400 QUnit.test('`_.findIndex` should use `_.iteratee` internally', function(assert) {
12413 QUnit.test('`_.findLast` should use `_.iteratee` internally', function(assert) {
12426 QUnit.test('`_.findLastIndex` should use `_.iteratee` internally', function(assert) {
12439 QUnit.test('`_.findKey` should use `_.iteratee` internally', function(assert) {
12452 QUnit.test('`_.findLastKey` should use `_.iteratee` internally', function(assert) {
12465 QUnit.test('`_.groupBy` should use `_.iteratee` internally', function(assert) {
12478 QUnit.test('`_.intersectionBy` should use `_.iteratee` internally', function(assert) {
12491 QUnit.test('`_.keyBy` should use `_.iteratee` internally', function(assert) {
12504 QUnit.test('`_.map` should use `_.iteratee` internally', function(assert) {
12517 QUnit.test('`_.mapKeys` should use `_.iteratee` internally', function(assert) {
12530 QUnit.test('`_.mapValues` should use `_.iteratee` internally', function(assert) {
12543 QUnit.test('`_.maxBy` should use `_.iteratee` internally', function(assert) {
12556 QUnit.test('`_.meanBy` should use `_.iteratee` internally', function(assert) {
12569 QUnit.test('`_.minBy` should use `_.iteratee` internally', function(assert) {
12582 QUnit.test('`_.partition` should use `_.iteratee` internally', function(assert) {
12597 QUnit.test('`_.pullAllBy` should use `_.iteratee` internally', function(assert) {
12610 QUnit.test('`_.reduce` should use `_.iteratee` internally', function(assert) {
12623 QUnit.test('`_.reduceRight` should use `_.iteratee` internally', function(assert) {
12636 QUnit.test('`_.reject` should use `_.iteratee` internally', function(assert) {
12651 QUnit.test('`_.remove` should use `_.iteratee` internally', function(assert) {
12667 QUnit.test('`_.some` should use `_.iteratee` internally', function(assert) {
12680 QUnit.test('`_.sortBy` should use `_.iteratee` internally', function(assert) {
12693 QUnit.test('`_.sortedIndexBy` should use `_.iteratee` internally', function(assert) {
12708 QUnit.test('`_.sortedLastIndexBy` should use `_.iteratee` internally', function(assert) {
12723 QUnit.test('`_.sumBy` should use `_.iteratee` internally', function(assert) {
12736 QUnit.test('`_.takeRightWhile` should use `_.iteratee` internally', function(assert) {
12749 QUnit.test('`_.takeWhile` should use `_.iteratee` internally', function(assert) {
12762 QUnit.test('`_.transform` should use `_.iteratee` internally', function(assert) {
12780 QUnit.test('`_.uniqBy` should use `_.iteratee` internally', function(assert) {
12793 QUnit.test('`_.unionBy` should use `_.iteratee` internally', function(assert) {
12806 QUnit.test('`_.xorBy` should use `_.iteratee` internally', function(assert) {
12827 QUnit.test('should return join all array elements into a string', function(assert) {
12833 QUnit.test('should return an unwrapped value when implicitly chaining', function(assert) {
12846 QUnit.test('should return a wrapped value when explicitly chaining', function(assert) {
12868 QUnit.test('should transform keys by `iteratee`', function(assert) {
12880 QUnit.test('should use `_.identity` when `iteratee` is nullish', function(assert) {
12894 QUnit.test('should work with `_.property` shorthands', function(assert) {
12903 QUnit.test('should only add values to own, not inherited, properties', function(assert) {
12914 QUnit.test('should work with a number for `iteratee`', function(assert) {
12927 QUnit.test('should work with an object for `collection`', function(assert) {
12934 QUnit.test('should work in a lazy sequence', function(assert) {
12961 …QUnit.test('`_.' + methodName + '` should return the string keyed property names of `object`', fun…
12969 …QUnit.test('`_.' + methodName + '` should ' + (isKeys ? 'not ' : '') + 'include inherited string k…
12983 QUnit.test('`_.' + methodName + '` should treat sparse arrays as dense', function(assert) {
12994 …QUnit.test('`_.' + methodName + '` should return keys for custom properties on arrays', function(a…
13005 …QUnit.test('`_.' + methodName + '` should ' + (isKeys ? 'not ' : '') + 'include inherited string k…
13018 QUnit.test('`_.' + methodName + '` should work with `arguments` objects', function(assert) {
13031 …QUnit.test('`_.' + methodName + '` should return keys for custom properties on `arguments` objects…
13047 …QUnit.test('`_.' + methodName + '` should ' + (isKeys ? 'not ' : '') + 'include inherited string k…
13063 QUnit.test('`_.' + methodName + '` should work with string objects', function(assert) {
13071 …QUnit.test('`_.' + methodName + '` should return keys for custom properties on string objects', fu…
13082 …QUnit.test('`_.' + methodName + '` should ' + (isKeys ? 'not ' : '') + 'include inherited string k…
13095 QUnit.test('`_.' + methodName + '` should work with array-like objects', function(assert) {
13104 …QUnit.test('`_.' + methodName + '` should coerce primitives to objects (test in IE 9)', function(a…
13120 …QUnit.test('`_.' + methodName + '` skips the `constructor` property on prototype objects', functio…
13137 …QUnit.test('`_.' + methodName + '` should return an empty array when `object` is nullish', functio…
13159 QUnit.test('should return the last element', function(assert) {
13165 QUnit.test('should return `undefined` when querying empty arrays', function(assert) {
13174 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
13183 QUnit.test('should return an unwrapped value when implicitly chaining', function(assert) {
13194 QUnit.test('should return a wrapped value when explicitly chaining', function(assert) {
13205 QUnit.test('should not execute immediately when explicitly chaining', function(assert) {
13217 QUnit.test('should work in a lazy sequence', function(assert) {
13242 QUnit.test('should lowercase as space-separated words', function(assert) {
13256 QUnit.test('should lowercase only the first character', function(assert) {
13270 QUnit.test('should return `true` if `value` is less than `other`', function(assert) {
13277 QUnit.test('should return `false` if `value` >= `other`', function(assert) {
13292 QUnit.test('should return `true` if `value` is <= `other`', function(assert) {
13301 QUnit.test('should return `false` if `value` > `other`', function(assert) {
13318 …QUnit.test('`_.' + methodName + '` should return the index of the last matched value', function(as…
13324 QUnit.test('`_.' + methodName + '` should work with a positive `fromIndex`', function(assert) {
13330 … QUnit.test('`_.' + methodName + '` should work with a `fromIndex` >= `length`', function(assert) {
13347 QUnit.test('`_.' + methodName + '` should work with a negative `fromIndex`', function(assert) {
13353 …QUnit.test('`_.' + methodName + '` should work with a negative `fromIndex` <= `-length`', function…
13366 …QUnit.test('`_.' + methodName + '` should treat falsey `fromIndex` values correctly', function(ass…
13380 QUnit.test('`_.' + methodName + '` should coerce `fromIndex` to an integer', function(assert) {
13393 isIndexOf = !/last/i.test(methodName),
13394 isSorted = /^sorted/.test(methodName);
13396 QUnit.test('`_.' + methodName + '` should accept a falsey `array`', function(assert) {
13410 … QUnit.test('`_.' + methodName + '` should return `-1` for an unmatched value', function(assert) {
13424 QUnit.test('`_.' + methodName + '` should not match values on empty arrays', function(assert) {
13434 QUnit.test('`_.' + methodName + '` should match `NaN`', function(assert) {
13452 QUnit.test('`_.' + methodName + '` should match `-0` as `0`', function(assert) {
13467 QUnit.test('should map values in `collection` to a new array', function(assert) {
13477 QUnit.test('should work with `_.property` shorthands', function(assert) {
13484 QUnit.test('should iterate over own string keyed properties of objects', function(assert) {
13496 QUnit.test('should use `_.identity` when `iteratee` is nullish', function(assert) {
13512 QUnit.test('should accept a falsey `collection`', function(assert) {
13526 QUnit.test('should treat number values for `collection` as empty', function(assert) {
13532 QUnit.test('should treat a nodelist as an array-like object', function(assert) {
13547 QUnit.test('should work with objects with non-number length properties', function(assert) {
13556 QUnit.test('should return a wrapped value when chaining', function(assert) {
13567 QUnit.test('should provide correct `predicate` arguments in a lazy sequence', function(assert) {
13623 QUnit.test('should map keys in `object` to a new object', function(assert) {
13630 QUnit.test('should treat arrays like objects', function(assert) {
13637 QUnit.test('should work with `_.property` shorthands', function(assert) {
13644 QUnit.test('should use `_.identity` when `iteratee` is nullish', function(assert) {
13667 QUnit.test('should map values in `object` to a new object', function(assert) {
13674 QUnit.test('should treat arrays like objects', function(assert) {
13681 QUnit.test('should work with `_.property` shorthands', function(assert) {
13688 QUnit.test('should use `_.identity` when `iteratee` is nullish', function(assert) {
13712 …QUnit.test('`_.' + methodName + '` should iterate over own string keyed properties of objects', fu…
13724 QUnit.test('`_.' + methodName + '` should accept a falsey `object`', function(assert) {
13738 …QUnit.test('`_.' + methodName + '` should return a wrapped value when chaining', function(assert) {
13753 QUnit.test('should not change behavior if `source` is modified', function(assert) {
13796 …QUnit.test('`_.' + methodName + '` should perform a deep comparison between `source` and `object`'…
13819 …QUnit.test('`_.' + methodName + '` should match inherited string keyed `object` properties', funct…
13833 …QUnit.test('`_.' + methodName + '` should not match by inherited `source` properties', function(as…
13849 …QUnit.test('`_.' + methodName + '` should compare a variety of `source` property values', function…
13860 QUnit.test('`_.' + methodName + '` should match `-0` as `0`', function(assert) {
13873 QUnit.test('`_.' + methodName + '` should compare functions by reference', function(assert) {
13886 QUnit.test('`_.' + methodName + '` should work with a function for `object`', function(assert) {
13896 QUnit.test('`_.' + methodName + '` should work with a function for `source`', function(assert) {
13910 QUnit.test('`_.' + methodName + '` should work with a non-plain `object`', function(assert) {
13921 QUnit.test('`_.' + methodName + '` should partial match arrays', function(assert) {
13936 …QUnit.test('`_.' + methodName + '` should partial match arrays with duplicate values', function(as…
13945 QUnit.test('should partial match arrays of objects', function(assert) {
13957 QUnit.test('`_.' + methodName + '` should partial match maps', function(assert) {
13987 QUnit.test('`_.' + methodName + '` should partial match sets', function(assert) {
14017 QUnit.test('`_.' + methodName + '` should match `undefined` values', function(assert) {
14036 …QUnit.test('`_.' + methodName + '` should match `undefined` values on primitives', function(assert…
14065 …QUnit.test('`_.' + methodName + '` should return `false` when `object` is nullish', function(asser…
14081 …QUnit.test('`_.' + methodName + '` should return `true` when comparing an empty `source`', functio…
14095 …QUnit.test('`_.' + methodName + '` should return `true` when comparing an empty `source` to a null…
14111 …QUnit.test('`_.' + methodName + '` should return `true` when comparing a `source` of empty arrays …
14126 …QUnit.test('should create a function that performs a deep comparison between a property value and …
14150 QUnit.test('should support deep paths', function(assert) {
14161 QUnit.test('should work with a non-string `path`', function(assert) {
14172 QUnit.test('should preserve the sign of `0`', function(assert) {
14192 QUnit.test('should coerce `path` to a string', function(assert) {
14212 QUnit.test('should match a key over a path', function(assert) {
14223 QUnit.test('should return `false` when `object` is nullish', function(assert) {
14242 QUnit.test('should return `false` for deep paths when `object` is nullish', function(assert) {
14261 QUnit.test('should return `false` if parts of `path` are missing', function(assert) {
14272 QUnit.test('should match inherited string keyed `srcValue` properties', function(assert) {
14286 QUnit.test('should not match by inherited `srcValue` properties', function(assert) {
14302 QUnit.test('should compare a variety of values', function(assert) {
14313 QUnit.test('should match `-0` as `0`', function(assert) {
14323 QUnit.test('should compare functions by reference', function(assert) {
14336 QUnit.test('should work with a function for `srcValue`', function(assert) {
14350 QUnit.test('should work with a non-plain `srcValue`', function(assert) {
14361 QUnit.test('should partial match arrays', function(assert) {
14376 QUnit.test('should partial match arrays with duplicate values', function(assert) {
14385 QUnit.test('should partial match arrays of objects', function(assert) {
14396 QUnit.test('should partial match maps', function(assert) {
14426 QUnit.test('should partial match sets', function(assert) {
14456 QUnit.test('should match `undefined` values', function(assert) {
14471 QUnit.test('should match `undefined` values of nested objects', function(assert) {
14487 QUnit.test('should match `undefined` values on primitives', function(assert) {
14510 …QUnit.test('should return `true` when comparing a `srcValue` of empty arrays and objects', functio…
14523 QUnit.test('should not change behavior if `srcValue` is modified', function(assert) {
14552 QUnit.test('should return the largest value from a collection', function(assert) {
14558 QUnit.test('should return `undefined` for empty collections', function(assert) {
14573 QUnit.test('should work with non-numeric collection values', function(assert) {
14585 QUnit.test('should return the mean of an array of numbers', function(assert) {
14592 QUnit.test('should return `NaN` when passing empty `array` values', function(assert) {
14609 QUnit.test('should work with an `iteratee`', function(assert) {
14619 QUnit.test('should provide correct `iteratee` arguments', function(assert) {
14631 QUnit.test('should work with `_.property` shorthands', function(assert) {
14683 QUnit.test('should memoize results based on the first argument given', function(assert) {
14694 QUnit.test('should support a `resolver`', function(assert) {
14704 QUnit.test('should use `this` binding of function for `resolver`', function(assert) {
14718 …QUnit.test('should throw a TypeError if `resolve` is truthy and not a function', function(assert) {
14724 QUnit.test('should not error if `resolver` is nullish', function(assert) {
14739 QUnit.test('should check cache for own properties', function(assert) {
14761 QUnit.test('should cache the `__proto__` key', function(assert) {
14788 QUnit.test('should allow `_.memoize.Cache` to be customized', function(assert) {
14811 QUnit.test('should works with an immutable `_.memoize.Cache` ', function(assert) {
14842 QUnit.test('should enforce a max cache size of `MAX_MEMOIZE_SIZE`', function(assert) {
14866 QUnit.test('should merge `source` into `object`', function(assert) {
14900 QUnit.test('should merge sources containing circular references', function(assert) {
14922 QUnit.test('should work with four arguments', function(assert) {
14931 QUnit.test('should merge onto function `object` values', function(assert) {
14943 QUnit.test('should merge first source object properties to function', function(assert) {
14953 …QUnit.test('should merge first and second source object properties to function', function(assert) {
14963 QUnit.test('should not merge onto function values of sources', function(assert) {
14978 QUnit.test('should merge onto non-plain `object` values', function(assert) {
14990 QUnit.test('should treat sparse array sources as dense', function(assert) {
15005 QUnit.test('should merge `arguments` objects', function(assert) {
15029 QUnit.test('should merge typed arrays', function(assert) {
15072 QUnit.test('should assign `null` values', function(assert) {
15079 …QUnit.test('should assign non array/buffer/typed-array/plain-object source values directly', funct…
15095 QUnit.test('should clone buffer source values', function(assert) {
15111 QUnit.test('should deep clone array/typed-array/plain-object source values', function(assert) {
15139 QUnit.test('should not augment source objects', function(assert) {
15159 QUnit.test('should merge plain objects onto non-plain objects', function(assert) {
15177 …QUnit.test('should not overwrite existing values with `undefined` values of object sources', funct…
15184 …QUnit.test('should not overwrite existing values with `undefined` values of array sources', functi…
15202 … QUnit.test('should skip merging when `object` and `source` are the same value', function(assert) {
15219 QUnit.test('should convert values to arrays when merging arrays of `source`', function(assert) {
15231 …QUnit.test('should not convert strings to arrays when merging arrays of `source`', function(assert…
15240 QUnit.test('should not error on DOM elements', function(assert) {
15263 QUnit.test('should handle merging when `customizer` returns `undefined`', function(assert) {
15273 QUnit.test('should clone sources when `customizer` returns `undefined`', function(assert) {
15283 QUnit.test('should defer to `customizer` for non `undefined` results', function(assert) {
15293 QUnit.test('should provide `stack` to `customizer`', function(assert) {
15311 QUnit.test('should overwrite primitives with source object clones', function(assert) {
15321 QUnit.test('should pop the stack of sources for each sibling property', function(assert) {
15341 QUnit.test('should create a function that calls a method of a given object', function(assert) {
15353 QUnit.test('should work with deep property values', function(assert) {
15364 QUnit.test('should work with a non-string `path`', function(assert) {
15375 QUnit.test('should coerce `path` to a string', function(assert) {
15395 QUnit.test('should work with inherited property values', function(assert) {
15407 QUnit.test('should use a key over a path', function(assert) {
15418 QUnit.test('should return `undefined` when `object` is nullish', function(assert) {
15435 … QUnit.test('should return `undefined` for deep paths when `object` is nullish', function(assert) {
15452 QUnit.test('should return `undefined` if parts of `path` are missing', function(assert) {
15463 QUnit.test('should apply partial arguments to function', function(assert) {
15478 …QUnit.test('should invoke deep property methods with the correct `this` binding', function(assert)…
15495 QUnit.test('should create a function that calls a method of a given key', function(assert) {
15507 QUnit.test('should work with deep property values', function(assert) {
15518 QUnit.test('should work with a non-string `path`', function(assert) {
15529 QUnit.test('should coerce `path` to a string', function(assert) {
15549 QUnit.test('should work with inherited property values', function(assert) {
15561 QUnit.test('should use a key over a path', function(assert) {
15572 QUnit.test('should return `undefined` when `object` is nullish', function(assert) {
15588 … QUnit.test('should return `undefined` for deep paths when `object` is nullish', function(assert) {
15604 QUnit.test('should return `undefined` if parts of `path` are missing', function(assert) {
15615 QUnit.test('should apply partial arguments to function', function(assert) {
15631 …QUnit.test('should invoke deep property methods with the correct `this` binding', function(assert)…
15648 QUnit.test('should return the smallest value from a collection', function(assert) {
15654 QUnit.test('should return `undefined` for empty collections', function(assert) {
15669 QUnit.test('should work with non-numeric collection values', function(assert) {
15682 isMax = /^max/.test(methodName);
15684 QUnit.test('`_.' + methodName + '` should work with Date objects', function(assert) {
15693 QUnit.test('`_.' + methodName + '` should work with extremely large arrays', function(assert) {
15700 …QUnit.test('`_.' + methodName + '` should work when chaining on an array with only one value', fun…
15718 QUnit.test('`_.' + methodName + '` should work with an `iteratee`', function(assert) {
15728 QUnit.test('should work with `_.property` shorthands', function(assert) {
15742 …QUnit.test('`_.' + methodName + '` should work when `iteratee` returns +/-Infinity', function(asse…
15790 QUnit.test('should mixin `source` methods into lodash', function(assert) {
15808 QUnit.test('should mixin chaining methods by reference', function(assert) {
15825 QUnit.test('should use a default `object` of `this`', function(assert) {
15838 QUnit.test('should accept an `object`', function(assert) {
15846 QUnit.test('should accept a function `object`', function(assert) {
15860 QUnit.test('should return `object`', function(assert) {
15871 QUnit.test('should not assign inherited `source` methods', function(assert) {
15881 QUnit.test('should accept an `options`', function(assert) {
15915 …QUnit.test('should not extend lodash when an `object` is given with an empty `options` object', fu…
15923 QUnit.test('should not error for non-object `options` values', function(assert) {
15947 QUnit.test('should not return the existing wrapped value when chaining', function(assert) {
15971 QUnit.test('should produce methods that work in a lazy sequence', function(assert) {
15995 QUnit.test('should multiply two numbers', function(assert) {
16003 QUnit.test('should coerce arguments to numbers', function(assert) {
16023 QUnit.test('should sort by a single property by a specified order', function(assert) {
16030 QUnit.test('should sort by multiple properties by specified orders', function(assert) {
16037 …QUnit.test('should sort by a property in ascending order when its order is not specified', functio…
16054 QUnit.test('should work with `orders` specified as string objects', function(assert) {
16071 QUnit.test('should transform each argument', function(assert) {
16078 QUnit.test('should use `_.identity` when a predicate is nullish', function(assert) {
16085 QUnit.test('should work with `_.property` shorthands', function(assert) {
16092 QUnit.test('should work with `_.matches` shorthands', function(assert) {
16099 QUnit.test('should work with `_.matchesProperty` shorthands', function(assert) {
16106 …QUnit.test('should differentiate between `_.property` and `_.matchesProperty` shorthands', functio…
16116 QUnit.test('should flatten `transforms`', function(assert) {
16123 …QUnit.test('should not transform any argument greater than the number of transforms', function(ass…
16130 QUnit.test('should not transform any arguments if no transforms are given', function(assert) {
16137 …QUnit.test('should not pass `undefined` if there are more transforms than arguments', function(ass…
16144 QUnit.test('should provide the correct argument to each transform', function(assert) {
16155 QUnit.test('should use `this` binding of function for `transforms`', function(assert) {
16174 QUnit.test('should create a function that negates the result of `func`', function(assert) {
16183 QUnit.test('should create a function that negates the result of `func`', function(assert) {
16192 QUnit.test('should create a function that accepts multiple arguments', function(assert) {
16220 QUnit.test('should return the `lodash` function', function(assert) {
16233 QUnit.test('should restore `_` only if `lodash` is the current `_` value', function(assert) {
16247 QUnit.test('should work with a `root` of `this`', function(assert) {
16273 …QUnit.test('should return the number of milliseconds that have elapsed since the Unix epoch', func…
16289 QUnit.test('should work with mocked `Date.now`', function(assert) {
16309 QUnit.test('should get the nth element of `array`', function(assert) {
16319 QUnit.test('should work with a negative `n`', function(assert) {
16329 QUnit.test('should coerce `n` to an integer', function(assert) {
16351 QUnit.test('should return `undefined` for empty arrays', function(assert) {
16364 QUnit.test('should return `undefined` for non-indexes', function(assert) {
16388 QUnit.test('should create a function that returns its nth argument', function(assert) {
16399 QUnit.test('should work with a negative `n`', function(assert) {
16410 QUnit.test('should coerce `n` to an integer', function(assert) {
16434 QUnit.test('should return `undefined` for empty arrays', function(assert) {
16441 QUnit.test('should return `undefined` for non-indexes', function(assert) {
16465 QUnit.test('should flatten `paths`', function(assert) {
16472 QUnit.test('should support deep paths', function(assert) {
16478 QUnit.test('should support path arrays', function(assert) {
16487 QUnit.test('should omit a key over a path', function(assert) {
16497 QUnit.test('should coerce `paths` to strings', function(assert) {
16503 QUnit.test('should return an empty object when `object` is nullish', function(assert) {
16514 QUnit.test('should work with a primitive `object`', function(assert) {
16526 QUnit.test('should work with `arguments` object `paths`', function(assert) {
16532 QUnit.test('should not mutate `object`', function(assert) {
16548 QUnit.test('should work with a predicate argument', function(assert) {
16582 …QUnit.test('`_.' + methodName + '` should create an object with omitted string keyed properties', …
16589 …QUnit.test('`_.' + methodName + '` should include inherited string keyed properties', function(ass…
16598 QUnit.test('`_.' + methodName + '` should preserve the sign of `0`', function(assert) {
16612 QUnit.test('`_.' + methodName + '` should include symbols', function(assert) {
16644 …QUnit.test('`_.' + methodName + '` should create an object with omitted symbols', function(assert)…
16684 QUnit.test('`_.' + methodName + '` should work with an array `object`', function(assert) {
16697 QUnit.test('should invoke `func` once', function(assert) {
16708 QUnit.test('should ignore recursive calls', function(assert) {
16722 QUnit.test('should not throw more than once', function(assert) {
16741 QUnit.test('should create a function that invokes `iteratees`', function(assert) {
16748 QUnit.test('should use `_.identity` when a predicate is nullish', function(assert) {
16755 QUnit.test('should work with `_.property` shorthands', function(assert) {
16762 QUnit.test('should work with `_.matches` shorthands', function(assert) {
16769 QUnit.test('should work with `_.matchesProperty` shorthands', function(assert) {
16778 …QUnit.test('should differentiate between `_.property` and `_.matchesProperty` shorthands', functio…
16792 QUnit.test('should provide arguments to predicates', function(assert) {
16802 QUnit.test('should use `this` binding of function for `iteratees`', function(assert) {
16817 …QUnit.test('should create a function that returns `true` if all predicates return truthy', functio…
16824 QUnit.test('should return `false` as soon as a predicate returns falsey', function(assert) {
16836 QUnit.test('should use `_.identity` when a predicate is nullish', function(assert) {
16845 QUnit.test('should work with `_.property` shorthands', function(assert) {
16854 QUnit.test('should work with `_.matches` shorthands', function(assert) {
16863 QUnit.test('should work with `_.matchesProperty` shorthands', function(assert) {
16872 …QUnit.test('should differentiate between `_.property` and `_.matchesProperty` shorthands', functio…
16887 QUnit.test('should flatten `predicates`', function(assert) {
16894 QUnit.test('should provide arguments to predicates', function(assert) {
16907 QUnit.test('should use `this` binding of function for `predicates`', function(assert) {
16925 …QUnit.test('should create a function that returns `true` if any predicates return truthy', functio…
16935 QUnit.test('should return `true` as soon as `predicate` returns truthy', function(assert) {
16947 QUnit.test('should return `false` if all predicates return falsey', function(assert) {
16957 QUnit.test('should use `_.identity` when a predicate is nullish', function(assert) {
16966 QUnit.test('should work with `_.property` shorthands', function(assert) {
16975 QUnit.test('should work with `_.matches` shorthands', function(assert) {
16984 QUnit.test('should work with `_.matchesProperty` shorthands', function(assert) {
16993 …QUnit.test('should differentiate between `_.property` and `_.matchesProperty` shorthands', functio…
17008 QUnit.test('should flatten `predicates`', function(assert) {
17015 QUnit.test('should provide arguments to predicates', function(assert) {
17028 QUnit.test('should use `this` binding of function for `predicates`', function(assert) {
17048 QUnit.test('should pad a string to a given length', function(assert) {
17061 QUnit.test('should truncate pad characters to fit the pad length', function(assert) {
17068 QUnit.test('should coerce `string` to a string', function(assert) {
17089 QUnit.test('should pad a string to a given length', function(assert) {
17102 QUnit.test('should truncate pad characters to fit the pad length', function(assert) {
17108 QUnit.test('should coerce `string` to a string', function(assert) {
17129 QUnit.test('should pad a string to a given length', function(assert) {
17142 QUnit.test('should truncate pad characters to fit the pad length', function(assert) {
17148 QUnit.test('should coerce `string` to a string', function(assert) {
17172 QUnit.test('`_.' + methodName + '` should not pad if string is >= `length`', function(assert) {
17179 QUnit.test('`_.' + methodName + '` should treat negative `length` as `0`', function(assert) {
17187 QUnit.test('`_.' + methodName + '` should coerce `length` to a number', function(assert) {
17196 …QUnit.test('`_.' + methodName + '` should treat nullish values as empty strings', function(assert)…
17207 …QUnit.test('`_.' + methodName + '` should return `string` when `chars` coerces to an empty string'…
17226 QUnit.test('should accept a `radix`', function(assert) {
17238 …QUnit.test('should use a radix of `10`, for non-hexadecimals, if `radix` is `undefined` or `0`', f…
17247 …QUnit.test('should use a radix of `16`, for hexadecimals, if `radix` is `undefined` or `0`', funct…
17258 QUnit.test('should use a radix of `10` for string with leading zeros', function(assert) {
17265 QUnit.test('should parse strings with leading whitespace', function(assert) {
17298 QUnit.test('should coerce `radix` to a number', function(assert) {
17306 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
17328 QUnit.test('`_.' + methodName + '` partially applies arguments', function(assert) {
17335 …QUnit.test('`_.' + methodName + '` creates a function that can be invoked with additional argument…
17345 …QUnit.test('`_.' + methodName + '` works when there are no partially applied arguments and the cre…
17354 …QUnit.test('`_.' + methodName + '` works when there are no partially applied arguments and the cre…
17361 QUnit.test('`_.' + methodName + '` should support placeholders', function(assert) {
17379 QUnit.test('`_.' + methodName + '` should use `_.placeholder` when set', function(assert) {
17396 … QUnit.test('`_.' + methodName + '` creates a function with a `length` of `0`', function(assert) {
17405 …QUnit.test('`_.' + methodName + '` should ensure `new par` is an instance of `func`', function(ass…
17419 …QUnit.test('`_.' + methodName + '` should clone metadata for created functions', function(assert) {
17435 QUnit.test('`_.' + methodName + '` should work with curried functions', function(assert) {
17445 QUnit.test('should work with placeholders and curried functions', function(assert) {
17461 QUnit.test('should work as a deep `_.defaults`', function(assert) {
17490 QUnit.test('should work with combinations of partial functions', function(assert) {
17500 QUnit.test('should work with combinations of bound and partial functions', function(assert) {
17531 QUnit.test('should ensure `new combo` is an instance of `func`', function(assert) {
17545 QUnit.test('should work with combinations of functions with placeholders', function(assert) {
17570 …QUnit.test('should work with combinations of functions with overlapping placeholders', function(as…
17595 QUnit.test('should work with recursively bound functions', function(assert) {
17609 QUnit.test('should work when hot', function(assert) {
17691 QUnit.test('should split elements into two groups by `predicate`', function(assert) {
17699 QUnit.test('should use `_.identity` when `predicate` is nullish', function(assert) {
17712 QUnit.test('should work with `_.property` shorthands', function(assert) {
17721 QUnit.test('should work with a number for `predicate`', function(assert) {
17734 QUnit.test('should work with an object for `collection`', function(assert) {
17751 QUnit.test('should flatten `paths`', function(assert) {
17758 QUnit.test('should support deep paths', function(assert) {
17764 QUnit.test('should support path arrays', function(assert) {
17773 QUnit.test('should pick a key over a path', function(assert) {
17783 QUnit.test('should coerce `paths` to strings', function(assert) {
17789 QUnit.test('should return an empty object when `object` is nullish', function(assert) {
17797 QUnit.test('should work with a primitive `object`', function(assert) {
17803 QUnit.test('should work with `arguments` object `paths`', function(assert) {
17815 QUnit.test('should work with a predicate argument', function(assert) {
17827 QUnit.test('should not treat keys with dots as deep paths', function(assert) {
17859 …QUnit.test('`_.' + methodName + '` should create an object of picked string keyed properties', fun…
17866 …QUnit.test('`_.' + methodName + '` should pick inherited string keyed properties', function(assert…
17876 QUnit.test('`_.' + methodName + '` should preserve the sign of `0`', function(assert) {
17890 QUnit.test('`_.' + methodName + '` should pick symbols', function(assert) {
17926 QUnit.test('`_.' + methodName + '` should work with an array `object`', function(assert) {
17939 …QUnit.test('should create a function that plucks a property value of a given object', function(ass…
17951 QUnit.test('should pluck deep property values', function(assert) {
17962 QUnit.test('should pluck inherited property values', function(assert) {
17974 QUnit.test('should work with a non-string `path`', function(assert) {
17985 QUnit.test('should preserve the sign of `0`', function(assert) {
17999 QUnit.test('should coerce `path` to a string', function(assert) {
18019 QUnit.test('should pluck a key over a path', function(assert) {
18030 QUnit.test('should return `undefined` when `object` is nullish', function(assert) {
18047 … QUnit.test('should return `undefined` for deep paths when `object` is nullish', function(assert) {
18064 QUnit.test('should return `undefined` if parts of `path` are missing', function(assert) {
18081 …QUnit.test('should create a function that plucks a property value of a given key', function(assert…
18093 QUnit.test('should pluck deep property values', function(assert) {
18104 QUnit.test('should pluck inherited property values', function(assert) {
18119 QUnit.test('should work with a non-string `path`', function(assert) {
18130 QUnit.test('should preserve the sign of `0`', function(assert) {
18144 QUnit.test('should coerce `path` to a string', function(assert) {
18164 QUnit.test('should pluck a key over a path', function(assert) {
18175 QUnit.test('should return `undefined` when `object` is nullish', function(assert) {
18191 … QUnit.test('should return `undefined` for deep paths when `object` is nullish', function(assert) {
18207 QUnit.test('should return `undefined` if parts of `path` are missing', function(assert) {
18223 QUnit.test('should work with the same value for `array` and `values`', function(assert) {
18238 QUnit.test('should accept an `iteratee`', function(assert) {
18250 QUnit.test('should provide correct `iteratee` arguments', function(assert) {
18269 QUnit.test('should work with a `comparator`', function(assert) {
18294 QUnit.test('`_.' + methodName + '` should modify and return the array', function(assert) {
18304 QUnit.test('`_.' + methodName + '` should preserve holes in arrays', function(assert) {
18316 QUnit.test('`_.' + methodName + '` should treat holes as `undefined`', function(assert) {
18326 QUnit.test('`_.' + methodName + '` should match `NaN`', function(assert) {
18341 QUnit.test('should modify the array and return removed elements', function(assert) {
18351 QUnit.test('should work with unsorted indexes', function(assert) {
18361 QUnit.test('should work with repeated indexes', function(assert) {
18371 QUnit.test('should use `undefined` for nonexistent indexes', function(assert) {
18381 QUnit.test('should flatten `indexes`', function(assert) {
18393 QUnit.test('should return an empty array when no indexes are given', function(assert) {
18408 QUnit.test('should work with non-index paths', function(assert) {
18430 QUnit.test('should preserve the sign of `0`', function(assert) {
18444 QUnit.test('should support deep paths', function(assert) {
18462 QUnit.test('should work with a falsey `array` when keys are given', function(assert) {
18485 QUnit.test('should return `0` or `1` when no arguments are given', function(assert) {
18495 QUnit.test('should support a `min` and `max`', function(assert) {
18507 QUnit.test('should support not providing a `max`', function(assert) {
18519 QUnit.test('should swap `min` and `max` when `min` > `max`', function(assert) {
18533 QUnit.test('should support large integer values', function(assert) {
18549 QUnit.test('should coerce arguments to finite numbers', function(assert) {
18561 QUnit.test('should support floats', function(assert) {
18572 QUnit.test('should support providing a `floating`', function(assert) {
18585 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
18612 …QUnit.test('`_.' + methodName + '` should infer the sign of `step` when only `end` is given', func…
18619 …QUnit.test('`_.' + methodName + '` should infer the sign of `step` when only `start` and `end` are…
18626 …QUnit.test('`_.' + methodName + '` should work with a `start`, `end`, and `step`', function(assert…
18634 QUnit.test('`_.' + methodName + '` should support a `step` of `0`', function(assert) {
18640 …QUnit.test('`_.' + methodName + '` should work with a `step` larger than `end`', function(assert) {
18646 QUnit.test('`_.' + methodName + '` should work with a negative `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) {
18673 … QUnit.test('`_.' + methodName + '` should coerce arguments to finite numbers', function(assert) {
18687 …QUnit.test('`_.' + methodName + '` should work as an iteratee for methods like `_.map`', function(…
18710 QUnit.test('should reorder arguments provided to `func`', function(assert) {
18717 QUnit.test('should work with repeated indexes', function(assert) {
18724 QUnit.test('should use `undefined` for nonexistent indexes', function(assert) {
18731 QUnit.test('should use `undefined` for non-index values', function(assert) {
18748 QUnit.test('should not rearrange arguments when no indexes are given', function(assert) {
18758 QUnit.test('should accept multiple index arguments', function(assert) {
18765 QUnit.test('should accept multiple arrays of indexes', function(assert) {
18772 QUnit.test('should work with fewer indexes than arguments', function(assert) {
18779 QUnit.test('should work on functions that have been rearged', function(assert) {
18796 …QUnit.test('should use the first element of a collection as the default `accumulator`', function(a…
18802 …QUnit.test('should provide correct `iteratee` arguments when iterating an array', function(assert)…
18821 …QUnit.test('should provide correct `iteratee` arguments when iterating an object', function(assert…
18858 …QUnit.test('should use the last element of a collection as the default `accumulator`', function(as…
18864 …QUnit.test('should provide correct `iteratee` arguments when iterating an array', function(assert)…
18883 …QUnit.test('should provide correct `iteratee` arguments when iterating an object', function(assert…
18922 …QUnit.test('`_.' + methodName + '` should reduce a collection to a single value', function(assert)…
18932 …QUnit.test('`_.' + methodName + '` should support empty collections without an initial `accumulato…
18947 …QUnit.test('`_.' + methodName + '` should support empty collections with an initial `accumulator` …
18961 …QUnit.test('`_.' + methodName + '` should handle an initial `accumulator` value of `undefined`', f…
18968 …QUnit.test('`_.' + methodName + '` should return `undefined` for empty collections when no `accumu…
18984 …QUnit.test('`_.' + methodName + '` should return an unwrapped value when implicitly chaining', fun…
18995 …QUnit.test('`_.' + methodName + '` should return a wrapped value when explicitly chaining', functi…
19014 QUnit.test('should return elements the `predicate` returns falsey for', function(assert) {
19031 …QUnit.test('`_.' + methodName + '` should not modify the resulting value from within `predicate`',…
19042 QUnit.test('`_.' + methodName + '` should work with `_.property` shorthands', function(assert) {
19048 QUnit.test('`_.' + methodName + '` should work with `_.matches` shorthands', function(assert) {
19054 QUnit.test('`_.' + methodName + '` should not modify wrapped values', function(assert) {
19077 QUnit.test('`_.' + methodName + '` should work in a lazy sequence', function(assert) {
19099 …QUnit.test('`_.' + methodName + '` should provide correct `predicate` arguments in a lazy sequence…
19152 QUnit.test('should modify the array and return removed elements', function(assert) {
19162 QUnit.test('should provide correct `predicate` arguments', function(assert) {
19179 QUnit.test('should work with `_.matches` shorthands', function(assert) {
19187 QUnit.test('should work with `_.matchesProperty` shorthands', function(assert) {
19195 QUnit.test('should work with `_.property` shorthands', function(assert) {
19203 QUnit.test('should preserve holes in arrays', function(assert) {
19218 QUnit.test('should treat holes as `undefined`', function(assert) {
19231 …QUnit.test('should not mutate the array until all elements to remove are determined', function(ass…
19251 QUnit.test('should repeat a string `n` times', function(assert) {
19258 QUnit.test('should treat falsey `n` values, except `undefined`, as `0`', function(assert) {
19272 QUnit.test('should return an empty string if `n` is <= `0`', function(assert) {
19279 QUnit.test('should coerce `n` to an integer', function(assert) {
19287 QUnit.test('should coerce `string` to a string', function(assert) {
19294 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
19307 QUnit.test('should replace the matched pattern', function(assert) {
19323 QUnit.test('should invoke function values', function(assert) {
19329 QUnit.test('should invoke default function values', function(assert) {
19336 QUnit.test('should invoke nested function values', function(assert) {
19346 …QUnit.test('should invoke deep property methods with the correct `this` binding', function(assert)…
19364 QUnit.test('`_.' + methodName + '` should get string keyed property values', function(assert) {
19374 QUnit.test('`_.' + methodName + '` should preserve the sign of `0`', function(assert) {
19387 QUnit.test('`_.' + methodName + '` should get symbol keyed property values', function(assert) {
19401 QUnit.test('`_.' + methodName + '` should get deep property values', function(assert) {
19411 QUnit.test('`_.' + methodName + '` should get a key over a path', function(assert) {
19421 QUnit.test('`_.' + methodName + '` should not coerce array paths to strings', function(assert) {
19428 QUnit.test('`_.' + methodName + '` should not ignore empty brackets', function(assert) {
19435 QUnit.test('`_.' + methodName + '` should handle empty paths', function(assert) {
19444 QUnit.test('`_.' + methodName + '` should handle complex paths', function(assert) {
19459 …QUnit.test('`_.' + methodName + '` should return `undefined` when `object` is nullish', function(a…
19468 …QUnit.test('`_.' + methodName + '` should return `undefined` for deep paths when `object` is nulli…
19484 …QUnit.test('`_.' + methodName + '` should return `undefined` if parts of `path` are missing', func…
19494 QUnit.test('`_.' + methodName + '` should be able to return `null` values', function(assert) {
19504 …QUnit.test('`_.' + methodName + '` should follow `path` over non-plain objects', function(assert) {
19516 …QUnit.test('`_.' + methodName + '` should return the default value for `undefined` values', functi…
19532 …QUnit.test('`_.' + methodName + '` should return the default value when `path` is empty', function…
19548 QUnit.test('should apply a rest parameter to `func`', 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) {
19590 QUnit.test('should work on functions with more than three parameters', function(assert) {
19609 QUnit.test('should reverse `array`', function(assert) {
19619 QUnit.test('should return the wrapped reversed `array`', function(assert) {
19639 QUnit.test('should work in a lazy sequence', function(assert) {
19657 QUnit.test('should be lazy when in a lazy sequence', function(assert) {
19684 QUnit.test('should work in a hybrid sequence', function(assert) {
19710 QUnit.test('should track the `__chain__` value of a wrapper', function(assert) {
19739 …QUnit.test('`_.' + methodName + '` should return a rounded number without a precision', function(a…
19746 QUnit.test('`_.' + methodName + '` should work with a precision of `0`', function(assert) {
19753 QUnit.test('`_.' + methodName + '` should work with a positive precision', function(assert) {
19763 QUnit.test('`_.' + methodName + '` should work with a negative precision', function(assert) {
19770 QUnit.test('`_.' + methodName + '` should coerce `precision` to an integer', function(assert) {
19785 …QUnit.test('`_.' + methodName + '` should work with exponential notation and `precision`', functio…
19798 QUnit.test('`_.' + methodName + '` should preserve the sign of `0`', function(assert) {
19811 …QUnit.test('`_.' + methodName + '` should not return `NaN` for large `precision` values', function…
19825 …QUnit.test('`_.' + methodName + '` should return `Infinity` given `Infinity` regardless of `precis…
19847 …QUnit.test('`_.' + methodName + '` should return `-Infinity` given `-Infinity` regardless of `prec…
19869 …QUnit.test('`_.' + methodName + '` should return `NaN` given `NaN` regardless of `precision`', fun…
19897 QUnit.test('should not require a fully populated `context` object', function(assert) {
19914 QUnit.test('should use a zeroed `_.uniqueId` counter', function(assert) {
19942 QUnit.test('should return a random element', function(assert) {
19949 QUnit.test('should return `undefined` when sampling empty collections', function(assert) {
19963 QUnit.test('should sample an object', function(assert) {
19980 QUnit.test('should return an array of random elements', function(assert) {
19989 QUnit.test('should contain elements of the collection', function(assert) {
19997 QUnit.test('should treat falsey `size` values, except `undefined`, as `0`', function(assert) {
20011 QUnit.test('should return an empty array when `n` < `1` or `NaN`', function(assert) {
20019 QUnit.test('should return all elements when `n` >= `length`', function(assert) {
20028 QUnit.test('should coerce `n` to an integer', function(assert) {
20035 QUnit.test('should return an empty array for empty collections', function(assert) {
20049 QUnit.test('should sample an object', function(assert) {
20059 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
20072 QUnit.test('should work with a `customizer` callback', function(assert) {
20082 QUnit.test('should work with a `customizer` that returns `undefined`', function(assert) {
20096 isUpdate = /^update/.test(methodName);
20102 QUnit.test('`_.' + methodName + '` should set property values', function(assert) {
20114 QUnit.test('`_.' + methodName + '` should preserve the sign of `0`', function(assert) {
20129 … QUnit.test('`_.' + methodName + '` should unset symbol keyed property values', function(assert) {
20144 QUnit.test('`_.' + methodName + '` should set deep property values', function(assert) {
20156 QUnit.test('`_.' + methodName + '` should set a key over a path', function(assert) {
20168 QUnit.test('`_.' + methodName + '` should not coerce array paths to strings', function(assert) {
20177 QUnit.test('`_.' + methodName + '` should not ignore empty brackets', function(assert) {
20186 QUnit.test('`_.' + methodName + '` should handle empty paths', function(assert) {
20200 QUnit.test('`_.' + methodName + '` should handle complex paths', function(assert) {
20217 …QUnit.test('`_.' + methodName + '` should create parts of `path` that are missing', function(asser…
20233 … QUnit.test('`_.' + methodName + '` should not error when `object` is nullish', function(assert) {
20250 QUnit.test('`_.' + methodName + '` should overwrite primitives in the path', function(assert) {
20261 …QUnit.test('`_.' + methodName + '` should not create an array for missing non-index property names…
20270 …QUnit.test('`_.' + methodName + '` should not assign values that are the same as their destination…
20299 QUnit.test('should return a new array', function(assert) {
20305 QUnit.test('should contain the same elements after a collection is shuffled', function(assert) {
20312 QUnit.test('should shuffle small collections', function(assert) {
20322 QUnit.test('should treat number values for `collection` as empty', function(assert) {
20336 …QUnit.test('should return the number of own enumerable string keyed properties of an object', func…
20342 QUnit.test('should return the length of an array', function(assert) {
20348 QUnit.test('should accept a falsey `object`', function(assert) {
20362 QUnit.test('should work with `arguments` objects', function(assert) {
20368 QUnit.test('should work with jQuery/MooTools DOM query collections', function(assert) {
20379 QUnit.test('should work with maps', function(assert) {
20395 QUnit.test('should work with sets', function(assert) {
20411 QUnit.test('should not treat objects with negative lengths as array-like', function(assert) {
20417 …QUnit.test('should not treat objects with lengths larger than `MAX_SAFE_INTEGER` as array-like', f…
20423 QUnit.test('should not treat objects with non-number lengths as array-like', 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) {
20460 QUnit.test('should treat falsey `start` values as `0`', function(assert) {
20472 QUnit.test('should work with a negative `start`', function(assert) {
20478 QUnit.test('should work with a negative `start` <= negative `length`', function(assert) {
20486 QUnit.test('should work with `start` >= `end`', function(assert) {
20494 QUnit.test('should work with a positive `end`', function(assert) {
20500 QUnit.test('should work with a `end` >= `length`', function(assert) {
20508 QUnit.test('should treat falsey `end` values, except `undefined`, as `0`', function(assert) {
20522 QUnit.test('should work with a negative `end`', function(assert) {
20528 QUnit.test('should work with a negative `end` <= negative `length`', function(assert) {
20536 QUnit.test('should coerce `start` and `end` to integers', function(assert) {
20548 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
20558 QUnit.test('should work in a lazy sequence', function(assert) {
20603 …QUnit.test('should return `true` if `predicate` returns truthy for any element', function(assert) {
20610 QUnit.test('should return `false` for empty collections', function(assert) {
20624 QUnit.test('should return `true` as soon as `predicate` returns truthy', function(assert) {
20637 …QUnit.test('should return `false` if `predicate` returns falsey for all elements', function(assert…
20644 QUnit.test('should use `_.identity` when `predicate` is nullish', function(assert) {
20666 QUnit.test('should work with `_.property` shorthands', function(assert) {
20674 QUnit.test('should work with `_.matches` shorthands', function(assert) {
20682 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
20702 QUnit.test('should sort in ascending order by `iteratee`', function(assert) {
20712 QUnit.test('should use `_.identity` when `iteratee` is nullish', function(assert) {
20726 QUnit.test('should work with `_.property` shorthands', function(assert) {
20733 QUnit.test('should work with an object for `collection`', function(assert) {
20740 QUnit.test('should move `NaN`, nullish, and symbol values to the end', function(assert) {
20756 QUnit.test('should treat number values for `collection` as empty', function(assert) {
20762 QUnit.test('should coerce arrays returned from `iteratee`', function(assert) {
20774 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
20817 …QUnit.test('`_.' + methodName + '` should sort multiple properties in ascending order', function(a…
20824 QUnit.test('`_.' + methodName + '` should support iteratees', function(assert) {
20831 …QUnit.test('`_.' + methodName + '` should perform a stable sort (test in IE > 8 and V8)', function…
20840 QUnit.test('`_.' + methodName + '` should not error on nullish elements', function(assert) {
20850 …QUnit.test('`_.' + methodName + '` should work as an iteratee for methods like `_.reduce`', functi…
20886 QUnit.test('`_.' + methodName + '` should return the insert index', function(assert) {
20900 QUnit.test('`_.' + methodName + '` should work with an array of strings', function(assert) {
20914 …QUnit.test('`_.' + methodName + '` should accept a nullish `array` and a `value`', function(assert…
20927 QUnit.test('`_.' + methodName + '` should align with `_.sortBy`', function(assert) {
20948 QUnit.test('`_.' + methodName + '` should align with `_.sortBy` for nulls', function(assert) {
20958 QUnit.test('`_.' + methodName + '` should align with `_.sortBy` for symbols', function(assert) {
20980 …QUnit.test('`_.' + methodName + '` should provide correct `iteratee` arguments', function(assert) {
20992 QUnit.test('`_.' + methodName + '` should work with `_.property` shorthands', function(assert) {
21001 …QUnit.test('`_.' + methodName + '` should support arrays larger than `MAX_ARRAY_LENGTH / 2`', func…
21037 QUnit.test('`_.' + methodName + '` should perform a binary search', function(assert) {
21050 QUnit.test('should return unique values of a sorted array', function(assert) {
21066 QUnit.test('should split a string by `separator`', function(assert) {
21075 …QUnit.test('should return an array containing an empty string for empty values', function(assert) {
21088 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
21097 QUnit.test('should allow mixed string and array prototype methods', function(assert) {
21119 QUnit.test('should spread arguments to `func`', function(assert) {
21129 QUnit.test('should accept a falsey `array`', 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) {
21184 QUnit.test('should uppercase only the first character of each word', function(assert) {
21200 QUnit.test('should return `true` if a string starts with `target`', function(assert) {
21206 QUnit.test('should return `false` if a string does not start with `target`', function(assert) {
21212 QUnit.test('should work with a `position`', function(assert) {
21218 QUnit.test('should work with `position` >= `length`', function(assert) {
21226 QUnit.test('should treat falsey `position` values as `0`', function(assert) {
21238 QUnit.test('should treat a negative `position` as `0`', function(assert) {
21247 QUnit.test('should coerce `position` to an integer', function(assert) {
21265 QUnit.test('`_.' + methodName + '` should coerce `string` to a string', function(assert) {
21272 QUnit.test('`_.' + methodName + '` should coerce `target` to a string', function(assert) {
21279 QUnit.test('`_.' + methodName + '` should coerce `position` to a number', function(assert) {
21288 …QUnit.test('should return `true` when `target` is an empty string regardless of `position`', funct…
21318 QUnit.test('`_.' + methodName + '` should return ' + pair[1], function(assert) {
21337 QUnit.test('should subtract two numbers', function(assert) {
21345 QUnit.test('should coerce arguments to numbers', function(assert) {
21361 …QUnit.test('`_.' + methodName + '` should return `' + (isAddSub ? 0 : 1) + '` when no arguments ar…
21367 … QUnit.test('`_.' + methodName + '` should work with only one defined argument', function(assert) {
21375 QUnit.test('`_.' + methodName + '` should preserve the sign of `0`', function(assert) {
21391 QUnit.test('`_.' + methodName + '` should convert objects to `NaN`', function(assert) {
21398 QUnit.test('`_.' + methodName + '` should convert symbols to `NaN`', function(assert) {
21410 …QUnit.test('`_.' + methodName + '` should return an unwrapped value when implicitly chaining', fun…
21422 …QUnit.test('`_.' + methodName + '` should return a wrapped value when explicitly chaining', functi…
21443 QUnit.test('should work with an `iteratee`', function(assert) {
21453 QUnit.test('should provide correct `iteratee` arguments', function(assert) {
21465 QUnit.test('should work with `_.property` shorthands', function(assert) {
21482 …QUnit.test('`_.' + methodName + '` should return the sum of an array of numbers', function(assert)…
21488 …QUnit.test('`_.' + methodName + '` should return `0` when passing empty `array` values', function(…
21500 QUnit.test('`_.' + methodName + '` should skip `undefined` values', function(assert) {
21506 QUnit.test('`_.' + methodName + '` should not skip `NaN` values', function(assert) {
21512 QUnit.test('`_.' + methodName + '` should not coerce values to numbers', function(assert) {
21526 QUnit.test('should accept a falsey `array`', function(assert) {
21540 QUnit.test('should exclude the first element', function(assert) {
21546 QUnit.test('should return an empty when querying empty arrays', function(assert) {
21552 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
21561 QUnit.test('should work in a lazy sequence', function(assert) {
21594 …QUnit.test('should not execute subsequent iteratees on an empty array in a lazy sequence', functio…
21625 QUnit.test('should take the first two elements', function(assert) {
21631 QUnit.test('should treat falsey `n` values, except `undefined`, as `0`', function(assert) {
21645 QUnit.test('should return an empty array when `n` < `1`', function(assert) {
21653 QUnit.test('should return all elements when `n` >= `length`', function(assert) {
21661 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
21670 QUnit.test('should work in a lazy sequence', function(assert) {
21707 QUnit.test('should take the last two elements', function(assert) {
21713 QUnit.test('should treat falsey `n` values, except `undefined`, as `0`', function(assert) {
21727 QUnit.test('should return an empty array when `n` < `1`', function(assert) {
21735 QUnit.test('should return all elements when `n` >= `length`', function(assert) {
21743 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
21752 QUnit.test('should work in a lazy sequence', function(assert) {
21795 QUnit.test('should take elements while `predicate` returns truthy', function(assert) {
21805 QUnit.test('should provide correct `predicate` arguments', function(assert) {
21817 QUnit.test('should work with `_.matches` shorthands', function(assert) {
21823 QUnit.test('should work with `_.matchesProperty` shorthands', function(assert) {
21829 QUnit.test('should work with `_.property` shorthands', function(assert) {
21835 QUnit.test('should work in a lazy sequence', function(assert) {
21853 QUnit.test('should provide correct `predicate` arguments in a lazy sequence', function(assert) {
21915 QUnit.test('should take elements while `predicate` returns truthy', function(assert) {
21925 QUnit.test('should provide correct `predicate` arguments', function(assert) {
21937 QUnit.test('should work with `_.matches` shorthands', function(assert) {
21943 QUnit.test('should work with `_.matchesProperty` shorthands', function(assert) {
21948 QUnit.test('should work with `_.property` shorthands', function(assert) {
21954 QUnit.test('should work in a lazy sequence', function(assert) {
21972 QUnit.test('should work in a lazy sequence with `take`', function(assert) {
21991 QUnit.test('should provide correct `predicate` arguments in a lazy sequence', function(assert) {
22040 QUnit.test('should intercept and return the given value', function(assert) {
22059 …QUnit.test('should intercept unwrapped values and return wrapped values when chaining', function(a…
22087 QUnit.test('should escape values in "escape" delimiters', function(assert) {
22101 …QUnit.test('should not reference `_.escape` when "escape" delimiters are not used', function(asser…
22108 QUnit.test('should evaluate JavaScript in "evaluate" delimiters', function(assert) {
22124 …QUnit.test('should support "evaluate" delimiters with single line comments (test production builds…
22133 …QUnit.test('should support referencing variables declared in "evaluate" delimiters from other deli…
22142 QUnit.test('should interpolate data properties in "interpolate" delimiters', function(assert) {
22156 QUnit.test('should support "interpolate" delimiters with escaped values', function(assert) {
22165 …QUnit.test('should support "interpolate" delimiters containing ternary operators', function(assert…
22174 … QUnit.test('should support "interpolate" delimiters containing global values', function(assert) {
22186 QUnit.test('should support complex "interpolate" delimiters', function(assert) {
22221 QUnit.test('should support ES6 template delimiters', function(assert) {
22229 QUnit.test('should support the "imports" option', function(assert) {
22236 QUnit.test('should support the "variable" options', function(assert) {
22254 QUnit.test('should support custom delimiters', function(assert) {
22275 QUnit.test('should support custom delimiters containing special characters', function(assert) {
22296 QUnit.test('should use a `with` statement by default', function(assert) {
22305 QUnit.test('should use `_.templateSettings.imports._.templateSettings`', function(assert) {
22325 QUnit.test('should fallback to `_.templateSettings`', function(assert) {
22341 QUnit.test('should ignore `null` delimiters', function(assert) {
22367 QUnit.test('should work without delimiters', function(assert) {
22374 QUnit.test('should work with `this` references', function(assert) {
22385 QUnit.test('should work with backslashes', function(assert) {
22394 QUnit.test('should work with escaped characters in string literals', function(assert) {
22405 QUnit.test('should handle \\u2028 & \\u2029 characters', function(assert) {
22412 QUnit.test('should work with statements containing quotes', function(assert) {
22425 QUnit.test('should work with templates containing newlines and comments', function(assert) {
22437 QUnit.test('should tokenize delimiters', function(assert) {
22446 QUnit.test('should evaluate delimiters once', function(assert) {
22457 QUnit.test('should match delimiters before escaping text', function(assert) {
22464 QUnit.test('should resolve nullish values to an empty string', function(assert) {
22480 QUnit.test('should return an empty string for empty values', function(assert) {
22495 QUnit.test('should parse delimiters without newlines', function(assert) {
22505 QUnit.test('should support recursive calls', function(assert) {
22514 QUnit.test('should coerce `text` to a string', function(assert) {
22523 QUnit.test('should not modify the `options` object', function(assert) {
22531 QUnit.test('should not modify `_.templateSettings` when `options` are given', function(assert) {
22543 QUnit.test('should not error for non-object `data` and `options` values', function(assert) {
22553 QUnit.test('should expose the source on compiled templates', function(assert) {
22567 QUnit.test('should expose the source on SyntaxErrors', function(assert) {
22578 QUnit.test('should not include sourceURLs in the source', function(assert) {
22599 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
22621 QUnit.test('should use a default `length` of `30`', function(assert) {
22627 QUnit.test('should not truncate if `string` is <= `length`', function(assert) {
22634 QUnit.test('should truncate string the given length', function(assert) {
22640 QUnit.test('should support a `omission` option', function(assert) {
22646 QUnit.test('should coerce nullish `omission` values to strings', function(assert) {
22653 QUnit.test('should support a `length` option', function(assert) {
22659 QUnit.test('should support a `separator` option', function(assert) {
22667 QUnit.test('should treat negative `length` as `0`', function(assert) {
22675 QUnit.test('should coerce `length` to an integer', function(assert) {
22684 QUnit.test('should coerce `string` to a string', function(assert) {
22691 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
22706 QUnit.test('should throttle a function', function(assert) {
22727 QUnit.test('subsequent calls should return the result of the first call', function(assert) {
22748 QUnit.test('should clear timeout when `func` is called', function(assert) {
22781 QUnit.test('should not trigger a trailing call when invoked once', function(assert) {
22799 …QUnit.test('should trigger a call when invoked repeatedly' + (index ? ' and `leading` is `false`' …
22821 QUnit.test('should trigger a second throttled call as soon as possible', function(assert) {
22849 QUnit.test('should apply default options', function(assert) {
22867 QUnit.test('should support a `leading` option', function(assert) {
22877 QUnit.test('should support a `trailing` option', function(assert) {
22908 …QUnit.test('should not update `lastCalled`, at the end of the timeout, when `trailing` is `false`'…
22933 QUnit.test('should work with a system time of `0`', function(assert) {
22979 …QUnit.test('`_.' + methodName + '` should not error for non-object `options` values', function(ass…
22986 QUnit.test('`_.' + methodName + '` should use a default `wait` of `0`', function(assert) {
23003 …QUnit.test('`_.' + methodName + '` should invoke `func` with the correct `this` binding', function…
23022 QUnit.test('`_.' + methodName + '` supports recursive calls', function(assert) {
23053 …QUnit.test('`_.' + methodName + '` should work if the system time is set backwards', function(asse…
23090 QUnit.test('`_.' + methodName + '` should support cancelling delayed calls', function(assert) {
23110 … QUnit.test('`_.' + methodName + '` should reset `lastCalled` after cancelling', function(assert) {
23133 QUnit.test('`_.' + methodName + '` should support flushing delayed calls', function(assert) {
23153 …QUnit.test('`_.' + methodName + '` should noop `cancel` and `flush` when nothing is queued', funct…
23176 QUnit.test('should coerce non-finite `n` values to `0`', function(assert) {
23184 QUnit.test('should coerce `n` to an integer', function(assert) {
23191 QUnit.test('should provide correct `iteratee` arguments', function(assert) {
23203 QUnit.test('should use `_.identity` when `iteratee` is nullish', function(assert) {
23216 …QUnit.test('should return an array of the results of each `iteratee` execution', function(assert) {
23222 QUnit.test('should return an empty array for falsey and negative `n` values', function(assert) {
23235 QUnit.test('should return an unwrapped value when implicitly chaining', function(assert) {
23246 QUnit.test('should return a wrapped value when explicitly chaining', function(assert) {
23263 QUnit.test('should convert objects to arrays', function(assert) {
23269 QUnit.test('should convert iterables to arrays', function(assert) {
23283 QUnit.test('should convert maps to arrays', function(assert) {
23297 QUnit.test('should convert strings to arrays', function(assert) {
23305 QUnit.test('should work in a lazy sequence', function(assert) {
23332 QUnit.test('should convert whole string to lower case', function(assert) {
23346 QUnit.test('should convert whole string to upper case', function(assert) {
23363 QUnit.test('`_.' + methodName + '` should return a dense array', function(assert) {
23376 …QUnit.test('`_.' + methodName + '` should treat array-like objects like arrays', function(assert) {
23384 QUnit.test('`_.' + methodName + '` should return a shallow clone of arrays', function(assert) {
23392 …QUnit.test('`_.' + methodName + '` should work with a node list for `collection`', function(assert…
23416 QUnit.test('`_.' + methodName + '` should convert values to integers', function(assert) {
23429 QUnit.test('`_.' + methodName + '` should support `value` of `-0`', function(assert) {
23441 QUnit.test('should return a valid length', function(assert) {
23450 QUnit.test('should return `value` if a valid length', function(assert) {
23458 QUnit.test('should convert `-0` to `0`', function(assert) {
23472 QUnit.test('`_.' + methodName + '` should preserve the sign of `0`', function(assert) {
23510 QUnit.test('`_.' + methodName + '` should pass thru primitive number values', function(assert) {
23524 …QUnit.test('`_.' + methodName + '` should convert number primitives and objects to numbers', funct…
23555 …QUnit.test('`_.' + methodName + '` should convert string primitives and objects to numbers', funct…
23596 …QUnit.test('`_.' + methodName + '` should convert binary/octal strings to numbers', function(asser…
23617 …QUnit.test('`_.' + methodName + '` should convert invalid binary/octal strings to `' + (isToNumber…
23636 …QUnit.test('`_.' + methodName + '` should convert symbols to `' + (isToNumber ? 'NaN' : '0') + '`'…
23655 …QUnit.test('`_.' + methodName + '` should convert empty values to `0` or `NaN`', function(assert) {
23671 QUnit.test('`_.' + methodName + '` should coerce objects to numbers', function(assert) {
23728 QUnit.test('should be aliased', function(assert) {
23740 QUnit.test('should be aliased', function(assert) {
23755 …QUnit.test('`_.' + methodName + '` should create an array of string keyed-value pairs', function(a…
23764 …QUnit.test('`_.' + methodName + '` should ' + (isToPairs ? 'not ' : '') + 'include inherited strin…
23778 …QUnit.test('`_.' + methodName + '` should convert objects with a `length` property', function(asse…
23787 QUnit.test('`_.' + methodName + '` should convert maps', function(assert) {
23801 QUnit.test('`_.' + methodName + '` should convert sets', function(assert) {
23815 QUnit.test('`_.' + methodName + '` should convert strings', function(assert) {
23830 QUnit.test('should convert a string to a path', function(assert) {
23837 QUnit.test('should coerce array elements to strings', function(assert) {
23849 QUnit.test('should return new path array', function(assert) {
23855 QUnit.test('should not coerce symbols to strings', function(assert) {
23870 QUnit.test('should handle complex paths', function(assert) {
23877 QUnit.test('should handle consecutive empty brackets and dots', function(assert) {
23911 QUnit.test('should flatten inherited string keyed properties', function(assert) {
23923 QUnit.test('should convert `arguments` objects to plain objects', function(assert) {
23932 QUnit.test('should convert arrays to plain objects', function(assert) {
23947 QUnit.test('should treat nullish values as empty strings', function(assert) {
23960 QUnit.test('should preserve the sign of `0`', function(assert) {
23970 QUnit.test('should preserve the sign of `0` in an array', function(assert) {
23977 QUnit.test('should not error on symbols', function(assert) {
23992 QUnit.test('should not error on an array of symbols', function(assert) {
24007 QUnit.test('should return the `toString` result of the wrapped value', function(assert) {
24031 …QUnit.test('should create an object with the same `[[Prototype]]` as `object` when `accumulator` i…
24071 QUnit.test('should create regular arrays from typed arrays', function(assert) {
24086 QUnit.test('should support an `accumulator` value', function(assert) {
24124 QUnit.test('should treat sparse arrays as dense', function(assert) {
24134 QUnit.test('should work without an `iteratee`', function(assert) {
24140 …QUnit.test('should ensure `object` is an object before using its `[[Prototype]]`', function(assert…
24162 …QUnit.test('should ensure `object` constructor is a function before using its `[[Prototype]]`', fu…
24170 QUnit.test('should create an empty object when given a falsey `object`', function(assert) {
24187 …QUnit.test('should provide correct `iteratee` arguments when transforming an ' + key, function(ass…
24207 QUnit.test('should create an object from the same realm as `object`', function(assert) {
24249 QUnit.test('`_.' + methodName + '` should remove ' + parts + ' whitespace', function(assert) {
24258 QUnit.test('`_.' + methodName + '` should coerce `string` to a string', function(assert) {
24267 QUnit.test('`_.' + methodName + '` should remove ' + parts + ' `chars`', function(assert) {
24276 QUnit.test('`_.' + methodName + '` should coerce `chars` to a string', function(assert) {
24286 …QUnit.test('`_.' + methodName + '` should return an empty string for empty values and `chars`', fu…
24296 …QUnit.test('`_.' + methodName + '` should work with `undefined` or empty string values for `chars`…
24306 …QUnit.test('`_.' + methodName + '` should work as an iteratee for methods like `_.map`', function(…
24316 …QUnit.test('`_.' + methodName + '` should return an unwrapped value when implicitly chaining', fun…
24330 …QUnit.test('`_.' + methodName + '` should return a wrapped value when explicitly chaining', functi…
24360 QUnit.test('should account for astral symbols', function(assert) {
24419 QUnit.test('should account for combining diacritical marks', function(assert) {
24437 QUnit.test('should account for fitzpatrick modifiers', function(assert) {
24455 QUnit.test('should account for regional symbols', function(assert) {
24471 QUnit.test('should account for variation selectors', function(assert) {
24479 … QUnit.test('should account for variation selectors with fitzpatrick modifiers', function(assert) {
24497 QUnit.test('should match lone surrogates', function(assert) {
24508 QUnit.test('should match side by side fitzpatrick modifiers separately ', function(assert) {
24525 QUnit.test('should cap the number of arguments provided to `func`', function(assert) {
24532 QUnit.test('should not force a minimum argument count', function(assert) {
24539 QUnit.test('should use `this` binding of function', function(assert) {
24560 QUnit.test('should unescape entities in order', function(assert) {
24566 QUnit.test('should unescape the proper entities', function(assert) {
24572 QUnit.test('should handle strings with nothing to unescape', function(assert) {
24578 QUnit.test('should unescape the same characters escaped by `_.escape`', function(assert) {
24585 QUnit.test('should not unescape the "' + entity + '" entity', function(assert) {
24600 QUnit.test('`_.' + methodName + '` should return the union of two arrays', function(assert) {
24607 … QUnit.test('`_.' + methodName + '` should return the union of multiple arrays', function(assert) {
24614 QUnit.test('`_.' + methodName + '` should not flatten nested arrays', function(assert) {
24621 …QUnit.test('`_.' + methodName + '` should ignore values that are not arrays or `arguments` objects…
24636 QUnit.test('should accept an `iteratee`', function(assert) {
24646 QUnit.test('should provide correct `iteratee` arguments', function(assert) {
24658 QUnit.test('should output values from the first possible array', function(assert) {
24671 QUnit.test('should work with a `comparator`', function(assert) {
24681 QUnit.test('should output values from the first possible array', function(assert) {
24701 isSorted = /^sorted/.test(methodName),
24708 …QUnit.test('`_.' + methodName + '` should return unique values of an unsorted array', function(ass…
24715 …QUnit.test('`_.' + methodName + '` should return unique values of a sorted array', function(assert…
24722 QUnit.test('`_.' + methodName + '` should treat object instances as unique', function(assert) {
24728 QUnit.test('`_.' + methodName + '` should treat `-0` as `0`', function(assert) {
24735 QUnit.test('`_.' + methodName + '` should match `NaN`', function(assert) {
24741 QUnit.test('`_.' + methodName + '` should work with large arrays', function(assert) {
24757 …QUnit.test('`_.' + methodName + '` should work with large arrays of `-0` as `0`', function(assert)…
24768 …QUnit.test('`_.' + methodName + '` should work with large arrays of boolean, `NaN`, and nullish va…
24784 QUnit.test('`_.' + methodName + '` should work with large arrays of symbols', function(assert) {
24796 …QUnit.test('`_.' + methodName + '` should work with large arrays of well-known symbols', function(…
24827 …QUnit.test('`_.' + methodName + '` should distinguish between numbers and numeric strings', functi…
24849 …QUnit.test('should perform an unsorted uniq when used as an iteratee for methods like `_.map`', fu…
24871 QUnit.test('`_.' + methodName + '` should work with an `iteratee`', function(assert) {
24883 QUnit.test('should work with large arrays', function(assert) {
24895 …QUnit.test('`_.' + methodName + '` should provide correct `iteratee` arguments', function(assert) {
24907 QUnit.test('`_.' + methodName + '` should work with `_.property` shorthands', function(assert) {
24932 …QUnit.test('`_.' + methodName + '` should work with ' + key + ' for `iteratee`', function(assert) {
24946 QUnit.test('should work with a `comparator`', function(assert) {
24955 QUnit.test('should preserve the sign of `0`', function(assert) {
24978 QUnit.test('should generate unique ids', function(assert) {
24988 QUnit.test('should return a string value when not providing a `prefix`', function(assert) {
24994 QUnit.test('should coerce the prefix argument to a string', function(assert) {
24998 assert.ok(/3\d+,2\d+,1\d+/.test(actual));
25007 QUnit.test('should unset property values', function(assert) {
25017 QUnit.test('should preserve the sign of `0`', function(assert) {
25031 QUnit.test('should unset symbol keyed property values', function(assert) {
25046 QUnit.test('should unset deep property values', function(assert) {
25056 QUnit.test('should handle complex paths', function(assert) {
25071 QUnit.test('should return `true` for nonexistent paths', function(assert) {
25083 QUnit.test('should not error when `object` is nullish', function(assert) {
25100 QUnit.test('should follow `path` over non-plain objects', function(assert) {
25127 QUnit.test('should return `false` for non-configurable properties', function(assert) {
25152 … QUnit.test('should unzip arrays combining regrouped elements with `iteratee`', function(assert) {
25164 QUnit.test('should provide correct `iteratee` arguments', function(assert) {
25176 QUnit.test('should perform a basic unzip when `iteratee` is nullish', function(assert) {
25196 QUnit.test('should work with a `customizer` callback', function(assert) {
25206 QUnit.test('should work with a `customizer` that returns `undefined`', function(assert) {
25222 …QUnit.test('`_.' + methodName + '` should invoke `updater` with the value on `path` of `object`', …
25245 QUnit.test('should uppercase as space-separated words', function(assert) {
25259 QUnit.test('should uppercase only the first character', function(assert) {
25276 … QUnit.test('`_.' + methodName + '` should get string keyed values of `object`', function(assert) {
25285 …QUnit.test('`_.' + methodName + '` should work with an object that has a `length` property', funct…
25294 …QUnit.test('`_.' + methodName + '` should ' + (isValues ? 'not ' : '') + 'include inherited string…
25308 QUnit.test('`_.' + methodName + '` should work with `arguments` objects', function(assert) {
25327 QUnit.test('should return the difference of values', function(assert) {
25334 QUnit.test('should use strict equality to determine the values to reject', function(assert) {
25345 QUnit.test('should remove all occurrences of each value from an array', function(assert) {
25358 QUnit.test('should match words containing Latin Unicode letters', function(assert) {
25372 QUnit.test('should support a `pattern`', function(assert) {
25379 QUnit.test('should work with compound words', function(assert) {
25396 QUnit.test('should work with compound words containing diacritical marks', function(assert) {
25404 QUnit.test('should not treat contractions as separate words', function(assert) {
25428 QUnit.test('should not treat ordinal numbers as separate words', function(assert) {
25446 QUnit.test('should not treat mathematical operators as words', function(assert) {
25456 QUnit.test('should not treat punctuation as words', function(assert) {
25471 QUnit.test('should work as an iteratee for methods like `_.map`', function(assert) {
25480 QUnit.test('should prevent ReDoS', function(assert) {
25502 QUnit.test('should create a wrapped function', function(assert) {
25512 QUnit.test('should provide correct `wrapper` arguments', function(assert) {
25525 QUnit.test('should use `_.identity` when `wrapper` is nullish', function(assert) {
25539 QUnit.test('should use `this` binding of function', function(assert) {
25558 …QUnit.test('`_.' + methodName + '` should return the symmetric difference of two arrays', function…
25565 …QUnit.test('`_.' + methodName + '` should return the symmetric difference of multiple arrays', fun…
25575 …QUnit.test('`_.' + methodName + '` should return an empty array when comparing the same array', fu…
25584 QUnit.test('`_.' + methodName + '` should return an array of unique values', function(assert) {
25594 …QUnit.test('`_.' + methodName + '` should return a new array when a single array is given', functi…
25601 …QUnit.test('`_.' + methodName + '` should ignore individual secondary arguments', function(assert)…
25608 …QUnit.test('`_.' + methodName + '` should ignore values that are not arrays or `arguments` objects…
25617 …QUnit.test('`_.' + methodName + '` should return a wrapped value when chaining', function(assert) {
25629 …QUnit.test('`_.' + methodName + '` should work when in a lazy sequence before `head` or `last`', f…
25653 QUnit.test('should accept an `iteratee`', function(assert) {
25663 QUnit.test('should provide correct `iteratee` arguments', function(assert) {
25681 QUnit.test('should work with a `comparator`', function(assert) {
25701 …QUnit.test('`_.' + methodName + '` should zip together key/value arrays into an object', function(…
25708 QUnit.test('`_.' + methodName + '` should ignore extra `values`', function(assert) {
25714 …QUnit.test('`_.' + methodName + '` should assign `undefined` values for extra `keys`', function(as…
25720 …QUnit.test('`_.' + methodName + '` should ' + (isDeep ? '' : 'not ') + 'support deep paths', funct…
25729 QUnit.test('`_.' + methodName + '` should work in a lazy sequence', function(assert) {
25750 QUnit.test('should zip arrays combining grouped elements with `iteratee`', function(assert) {
25770 QUnit.test('should provide correct `iteratee` arguments', function(assert) {
25782 QUnit.test('should perform a basic zip when `iteratee` is nullish', function(assert) {
25826 QUnit.test('`_.' + methodName + '` should work with ' + key, function(assert) {
25835 …QUnit.test('`_.' + methodName + '` should work with tuples of different lengths', function(assert)…
25852 … QUnit.test('`_.' + methodName + '` should treat falsey values as empty arrays', function(assert) {
25864 …QUnit.test('`_.' + methodName + '` should ignore values that are not arrays or `arguments` objects…
25871 … QUnit.test('`_.' + methodName + '` should support consuming its return value', function(assert) {
25884 …QUnit.test('should execute the chained sequence and returns the wrapped result', function(assert) {
25903 QUnit.test('should track the `__chain__` value of a wrapper', function(assert) {
25928 QUnit.test('should follow the iterator protocol ' + chainType, function(assert) {
25943 QUnit.test('should act as an iterable ' + chainType, function(assert) {
25958 …QUnit.test('should use `_.toArray` to generate the iterable result ' + chainType, function(assert)…
25975 QUnit.test('should reset the iterator correctly ' + chainType, function(assert) {
25994 QUnit.test('should work in a lazy sequence ' + chainType, function(assert) {
26020 …QUnit.test('should clone the chained sequence planting `value` as the wrapped value', function(ass…
26037 QUnit.test('should clone `chainAll` settings', function(assert) {
26053 QUnit.test('should reset iterator data on cloned sequences', function(assert) {
26078 QUnit.test('should remove elements from the end of `array`', function(assert) {
26098 QUnit.test('should accept falsey arguments', function(assert) {
26124 QUnit.test('should append elements to `array`', function(assert) {
26140 QUnit.test('should accept falsey arguments', function(assert) {
26166 QUnit.test('should remove elements from the front of `array`', function(assert) {
26186 QUnit.test('should accept falsey arguments', function(assert) {
26212 QUnit.test('should return the wrapped sorted `array`', function(assert) {
26228 QUnit.test('should accept falsey arguments', function(assert) {
26254 QUnit.test('should support removing and inserting elements', function(assert) {
26274 QUnit.test('should accept falsey arguments', function(assert) {
26300 QUnit.test('should prepend elements to `array`', function(assert) {
26316 QUnit.test('should accept falsey arguments', function(assert) {
26342 …QUnit.test('should execute the chained sequence and extract the unwrapped value', function(assert)…
26359 QUnit.test('should return the `valueOf` result of the wrapped value', function(assert) {
26371 … QUnit.test('should stringify the wrapped value when used by `JSON.stringify`', function(assert) {
26383 QUnit.test('should be aliased', function(assert) {
26410 QUnit.test('`_(...).' + methodName + '` should return a new wrapper', function(assert) {
26464 QUnit.test('`_(...).' + methodName + '` should return a new wrapped value', function(assert) {
26584 …QUnit.test('`_(...).' + methodName + '` should return an unwrapped value when implicitly chaining'…
26596 …QUnit.test('`_(...).' + methodName + '` should return a wrapped value when explicitly chaining', f…
26619 QUnit.test('should work with `arguments` objects', function(assert) {
26660 QUnit.test('should accept falsey primary arguments', function(assert) {
26673 QUnit.test('should accept falsey secondary arguments', function(assert) {
26717 …QUnit.test('`_.' + methodName + '` should return an empty string for empty values', function(asser…
26824 QUnit.test('should accept falsey arguments', function(assert) {
26857 QUnit.test('should return an array', function(assert) {
26883 QUnit.test('should throw an error for falsey arguments', function(assert) {
26891 …var pass = !index && /^(?:backflow|compose|cond|flow(Right)?|over(?:Every|Some)?)$/.test(methodNam…
26906 QUnit.test('should use `this` binding of function', function(assert) {
26927 … QUnit.test('should not contain minified method names (test production builds)', function(assert) {