diff --git a/snippet_data/snippets.json b/snippet_data/snippets.json index 7d5e06bce..7d55849e0 100644 --- a/snippet_data/snippets.json +++ b/snippet_data/snippets.json @@ -26,7 +26,7 @@ "type": "snippet", "attributes": { "fileName": "allEqual.md", - "text": "Check if all elements are equal\n\nUse `Array.every()` to check if all the elements of the array are the same as the first one.", + "text": "Check if all elements in an array are equal.\n\nUse `Array.every()` to check if all the elements of the array are the same as the first one.", "codeBlocks": [ "const allEqual = arr => arr.every(val => val === arr[0]);", "allEqual([1, 2, 3, 4, 5, 6]); // false\nallEqual([1, 1, 1, 1]); // true" @@ -39,7 +39,7 @@ }, "meta": { "archived": false, - "hash": "aa5122e8272d9ef81a634e960da9b0ddbe6d670cb3e801d7ffd17ba36cd1630a" + "hash": "2801b6d7350ed3dd502d1efbaf32f0f3e8671002843ac3930e7e38a7e085213d" } }, { @@ -3522,9 +3522,9 @@ "type": "snippet", "attributes": { "fileName": "mask.md", - "text": "Replaces all but the last `num` of characters with the specified mask character.\n\nUse `String.slice()` to grab the portion of the characters that need to be masked and use `String.replace()` with a regexp to replace every character with the mask character.\nConcatenate the masked characters with the remaining unmasked portion of the string.\nOmit the second argument, `num`, to keep a default of `4` characters unmasked. If `num` is negative, the unmasked characters will be at the start of the string.\nOmit the third argument, `mask`, to use a default character of `'*'` for the mask.", + "text": "Replaces all but the last `num` of characters with the specified mask character.\n\nUse `String.slice()` to grab the portion of the characters that will remain unmasked and use `String.padStart()` to fill the beginning of the string with the mask character up to the original length.\nOmit the second argument, `num`, to keep a default of `4` characters unmasked. If `num` is negative, the unmasked characters will be at the start of the string.\nOmit the third argument, `mask`, to use a default character of `'*'` for the mask.", "codeBlocks": [ - "const mask = (cc, num = 4, mask = '*') =>\n ('' + cc).slice(0, -num).replace(/./g, mask) + ('' + cc).slice(-num);", + "const mask = (cc, num = 4, mask = '*') => `${cc}`.slice(-num).padStart(`${cc}`.length, mask);", "mask(1234567890); // '******7890'\nmask(1234567890, 3); // '*******890'\nmask(1234567890, -4, '$'); // '$$$$567890'" ], "tags": [ @@ -3536,7 +3536,7 @@ }, "meta": { "archived": false, - "hash": "c229055a0698ea0a36daa96a36172d1401e80ca98012752804d86f007cf721d3" + "hash": "b5217d2c91e86fb37ea02b5339140bba05f8d88d43a42dd3abcb9acf0c1d1ddf" } }, { diff --git a/test/mask/mask.js b/test/mask/mask.js index 92709f034..a268b3710 100644 --- a/test/mask/mask.js +++ b/test/mask/mask.js @@ -1,3 +1,2 @@ -const mask = (cc, num = 4, mask = '*') => - ('' + cc).slice(-num).padStart(('' + cc).length, mask); +const mask = (cc, num = 4, mask = '*') => `${cc}`.slice(-num).padStart(`${cc}`.length, mask); module.exports = mask; diff --git a/test/testlog b/test/testlog index 25ce96a89..6fc5e4377 100644 --- a/test/testlog +++ b/test/testlog @@ -3,2096 +3,2096 @@ # Starting... # 348 test suites found. -# PASS test/average/average.test.js +# PASS test/toKebabCase/toKebabCase.test.js -ok 1 — average is a Function -ok 2 — average(true) returns 0 -ok 3 — average(false) returns 1 -ok 4 — average(9, 1) returns 5 -ok 5 — average(153, 44, 55, 64, 71, 1122, 322774, 2232, 23423, 234, 3631) returns 32163.909090909092 -ok 6 — average(1, 2, 3) returns 2 -ok 7 — average(null) returns 0 -ok 8 — average(1, 2, 3) returns NaN -ok 9 — average(String) returns NaN -ok 10 — average({ a: 123}) returns NaN -ok 11 — average([undefined, 0, string]) returns NaN -ok 12 — average([1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 1122, 32124, 23232]) takes less than 2s to run +ok 1 — toKebabCase is a Function +ok 2 — toKebabCase('camelCase') returns camel-case +ok 3 — toKebabCase('some text') returns some-text +ok 4 — toKebabCase('some-mixed-string With spaces-underscores-and-hyphens') returns some-mixed-string-with-spaces-underscores-and-hyphens +ok 5 — toKebabCase('IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML') returns i-am-listening-to-fm-while-loading-different-url-on-my-browser-and-also-editing-some-xml-and-html +ok 6 — toKebabCase() returns undefined +ok 7 — toKebabCase([]) throws an erro +ok 8 — toKebabCase({}) throws an erro +ok 9 — toKebabCase(123) throws an erro +ok 10 — toKebabCase(IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML) takes less than 2s to run # PASS test/toSafeInteger/toSafeInteger.test.js -ok 13 — toSafeInteger is a Function -ok 14 — Number(toSafeInteger(3.2)) is a number -ok 15 — Converts a value to a safe integer -ok 16 — toSafeInteger('4.2') returns 4 -ok 17 — toSafeInteger(4.6) returns 5 -ok 18 — toSafeInteger([]) returns 0 -ok 19 — isNaN(toSafeInteger([1.5, 3124])) is true -ok 20 — isNaN(toSafeInteger('string')) is true -ok 21 — isNaN(toSafeInteger({})) is true -ok 22 — isNaN(toSafeInteger()) is true -ok 23 — toSafeInteger(Infinity) returns 9007199254740991 -ok 24 — toSafeInteger(3.2) takes less than 2s to run - -# PASS test/validateNumber/validateNumber.test.js - -ok 25 — validateNumber is a Function -ok 26 — validateNumber(9) returns true -ok 27 — validateNumber(234asd.slice(0, 2)) returns true -ok 28 — validateNumber(1232) returns true -ok 29 — validateNumber(1232 + 13423) returns true -ok 30 — validateNumber(1232 * 2342 * 123) returns true -ok 31 — validateNumber(1232.23423536) returns true -ok 32 — validateNumber(234asd) returns false -ok 33 — validateNumber(e234d) returns false -ok 34 — validateNumber(false) returns false -ok 35 — validateNumber(true) returns false -ok 36 — validateNumber(null) returns false -ok 37 — validateNumber(123 * asd) returns false +ok 11 — toSafeInteger is a Function +ok 12 — Number(toSafeInteger(3.2)) is a number +ok 13 — Converts a value to a safe integer +ok 14 — toSafeInteger('4.2') returns 4 +ok 15 — toSafeInteger(4.6) returns 5 +ok 16 — toSafeInteger([]) returns 0 +ok 17 — isNaN(toSafeInteger([1.5, 3124])) is true +ok 18 — isNaN(toSafeInteger('string')) is true +ok 19 — isNaN(toSafeInteger({})) is true +ok 20 — isNaN(toSafeInteger()) is true +ok 21 — toSafeInteger(Infinity) returns 9007199254740991 +ok 22 — toSafeInteger(3.2) takes less than 2s to run # PASS test/isPrimitive/isPrimitive.test.js -ok 38 — isPrimitive is a Function -ok 39 — isPrimitive(null) is primitive -ok 40 — isPrimitive(undefined) is primitive -ok 41 — isPrimitive(string) is primitive -ok 42 — isPrimitive(true) is primitive -ok 43 — isPrimitive(50) is primitive -ok 44 — isPrimitive('Hello') is primitive -ok 45 — isPrimitive(false) is primitive -ok 46 — isPrimitive(Symbol()) is primitive -ok 47 — isPrimitive([1, 2, 3]) is not primitive -ok 48 — isPrimitive({ a: 123 }) is not primitive -ok 49 — isPrimitive({ a: 123 }) takes less than 2s to run - -# PASS test/without/without.test.js - -ok 50 — without is a Function -ok 51 — without([2, 1, 2, 3], 1, 2) returns [3] -ok 52 — without([]) returns [] -ok 53 — without([3, 1, true, '3', true], '3', true) returns [3, 1] -ok 54 — without('string'.split(''), 's', 't', 'g') returns ['r', 'i', 'n'] -ok 55 — without() throws an error -ok 56 — without(null) throws an error -ok 57 — without(undefined) throws an error -ok 58 — without(123) throws an error -ok 59 — without({}) throws an error - -# PASS test/uniqueElementsByRight/uniqueElementsByRight.test.js - -ok 60 — uniqueElementsByRight is a Function -ok 61 — uniqueElementsByRight works for properties -ok 62 — uniqueElementsByRight works for nested properties - -# PASS test/quickSort/quickSort.test.js - -ok 63 — quickSort is a Function -ok 64 — quickSort([5, 6, 4, 3, 1, 2]) returns [1, 2, 3, 4, 5, 6] -ok 65 — quickSort([-1, 0, -2]) returns [-2, -1, 0] -ok 66 — quickSort() throws an error -ok 67 — quickSort(123) throws an error -ok 68 — quickSort({ 234: string}) throws an error -ok 69 — quickSort(null) throws an error -ok 70 — quickSort(undefined) throws an error -ok 71 — quickSort([11, 1, 324, 23232, -1, 53, 2, 524, 32, 13, 156, 133, 62, 12, 4]) takes less than 2s to run +ok 23 — isPrimitive is a Function +ok 24 — isPrimitive(null) is primitive +ok 25 — isPrimitive(undefined) is primitive +ok 26 — isPrimitive(string) is primitive +ok 27 — isPrimitive(true) is primitive +ok 28 — isPrimitive(50) is primitive +ok 29 — isPrimitive('Hello') is primitive +ok 30 — isPrimitive(false) is primitive +ok 31 — isPrimitive(Symbol()) is primitive +ok 32 — isPrimitive([1, 2, 3]) is not primitive +ok 33 — isPrimitive({ a: 123 }) is not primitive +ok 34 — isPrimitive({ a: 123 }) takes less than 2s to run # PASS test/toSnakeCase/toSnakeCase.test.js -ok 72 — toSnakeCase is a Function -ok 73 — toSnakeCase('camelCase') returns camel_case -ok 74 — toSnakeCase('some text') returns some_text -ok 75 — toSnakeCase('some-mixed_string With spaces_underscores-and-hyphens') returns some_mixed_string_with_spaces_underscores_and_hyphens -ok 76 — toSnakeCase('IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML') returns i_am_listening_to_fm_while_loading_different_url_on_my_browser_and_also_editing_some_xml_and_html -ok 77 — toSnakeCase() returns undefined -ok 78 — toSnakeCase([]) throws an error -ok 79 — toSnakeCase({}) throws an error -ok 80 — toSnakeCase(123) throws an error -ok 81 — toSnakeCase(IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML) takes less than 2s to run +ok 35 — toSnakeCase is a Function +ok 36 — toSnakeCase('camelCase') returns camel_case +ok 37 — toSnakeCase('some text') returns some_text +ok 38 — toSnakeCase('some-mixed_string With spaces_underscores-and-hyphens') returns some_mixed_string_with_spaces_underscores_and_hyphens +ok 39 — toSnakeCase('IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML') returns i_am_listening_to_fm_while_loading_different_url_on_my_browser_and_also_editing_some_xml_and_html +ok 40 — toSnakeCase() returns undefined +ok 41 — toSnakeCase([]) throws an error +ok 42 — toSnakeCase({}) throws an error +ok 43 — toSnakeCase(123) throws an error +ok 44 — toSnakeCase(IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML) takes less than 2s to run -# PASS test/isEmpty/isEmpty.test.js +# PASS test/average/average.test.js -ok 82 — isEmpty is a Function -ok 83 — Returns true for empty Map -ok 84 — Returns true for empty Set -ok 85 — Returns true for empty array -ok 86 — Returns true for empty object -ok 87 — Returns true for empty string -ok 88 — Returns false for non-empty array -ok 89 — Returns false for non-empty object -ok 90 — Returns false for non-empty string -ok 91 — Returns true - type is not considered a collection -ok 92 — Returns true - type is not considered a collection - -# PASS test/toKebabCase/toKebabCase.test.js - -ok 93 — toKebabCase is a Function -ok 94 — toKebabCase('camelCase') returns camel-case -ok 95 — toKebabCase('some text') returns some-text -ok 96 — toKebabCase('some-mixed-string With spaces-underscores-and-hyphens') returns some-mixed-string-with-spaces-underscores-and-hyphens -ok 97 — toKebabCase('IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML') returns i-am-listening-to-fm-while-loading-different-url-on-my-browser-and-also-editing-some-xml-and-html -ok 98 — toKebabCase() returns undefined -ok 99 — toKebabCase([]) throws an erro -ok 100 — toKebabCase({}) throws an erro -ok 101 — toKebabCase(123) throws an erro -ok 102 — toKebabCase(IAmListeningToFMWhileLoadingDifferentURLOnMyBrowserAndAlsoEditingSomeXMLAndHTML) takes less than 2s to run - -# PASS test/union/union.test.js - -ok 103 — union is a Function -ok 104 — union([1, 2, 3], [4, 3, 2]) returns [1, 2, 3, 4] -ok 105 — union('str', 'asd') returns [ 's', 't', 'r', 'a', 'd' ] -ok 106 — union([[], {}], [1, 2, 3]) returns [[], {}, 1, 2, 3] -ok 107 — union([], []) returns [] -ok 108 — union() throws an error -ok 109 — union(true, 'str') throws an error -ok 110 — union('false', true) throws an error -ok 111 — union((123, {}) throws an error -ok 112 — union([], {}) throws an error -ok 113 — union(undefined, null) throws an error -ok 114 — union([1, 2, 3], [4, 3, 2]) takes less than 2s to run - -# PASS test/zipObject/zipObject.test.js - -ok 115 — zipObject is a Function -ok 116 — zipObject([a, b, c], [1, 2]) returns {a: 1, b: 2, c: undefined} -ok 117 — zipObject([a, b], [1, 2, 3]) returns {a: 1, b: 2} -ok 118 — zipObject([a, b, c], string) returns { a: s, b: t, c: r } -ok 119 — zipObject([a], string) returns { a: s } -ok 120 — zipObject() throws an error -ok 121 — zipObject((['string'], null) throws an error -ok 122 — zipObject(null, [1]) throws an error -ok 123 — zipObject('string') throws an error -ok 124 — zipObject('test', 'string') throws an error - -# PASS test/words/words.test.js - -ok 125 — words is a Function -ok 126 — words('I love javaScript!!') returns [I, love, javaScript] -ok 127 — words('python, javaScript & coffee') returns [python, javaScript, coffee] -ok 128 — words(I love javaScript!!) returns an array -ok 129 — words() throws an error -ok 130 — words(null) throws an error -ok 131 — words(undefined) throws an error -ok 132 — words({}) throws an error -ok 133 — words([]) throws an error -ok 134 — words(1234) throws an error - -# PASS test/isSorted/isSorted.test.js - -ok 135 — isSorted is a Function -ok 136 — Array is sorted in ascending order -ok 137 — Array is sorted in ascending order -ok 138 — Array is sorted in ascending order -ok 139 — Array is sorted in ascending order -ok 140 — Array is sorted in descending order -ok 141 — Array is sorted in descending order -ok 142 — Array is sorted in descending order -ok 143 — Array is sorted in descending order -ok 144 — Array is empty -ok 145 — Array is not sorted, direction changed in array -ok 146 — Array is not sorted, direction changed in array +ok 45 — average is a Function +ok 46 — average(true) returns 0 +ok 47 — average(false) returns 1 +ok 48 — average(9, 1) returns 5 +ok 49 — average(153, 44, 55, 64, 71, 1122, 322774, 2232, 23423, 234, 3631) returns 32163.909090909092 +ok 50 — average(1, 2, 3) returns 2 +ok 51 — average(null) returns 0 +ok 52 — average(1, 2, 3) returns NaN +ok 53 — average(String) returns NaN +ok 54 — average({ a: 123}) returns NaN +ok 55 — average([undefined, 0, string]) returns NaN +ok 56 — average([1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 1122, 32124, 23232]) takes less than 2s to run # PASS test/is/is.test.js -ok 147 — is is a Function -ok 148 — Works for arrays with data -ok 149 — Works for empty arrays -ok 150 — Works for arrays, not objects -ok 151 — Works for objects -ok 152 — Works for maps -ok 153 — Works for regular expressions -ok 154 — Works for sets -ok 155 — Works for weak maps -ok 156 — Works for weak sets -ok 157 — Works for strings - returns true for primitive -ok 158 — Works for strings - returns true when using constructor -ok 159 — Works for numbers - returns true for primitive -ok 160 — Works for numbers - returns true when using constructor -ok 161 — Works for booleans - returns true for primitive -ok 162 — Works for booleans - returns true when using constructor -ok 163 — Works for functions +ok 57 — is is a Function +ok 58 — Works for arrays with data +ok 59 — Works for empty arrays +ok 60 — Works for arrays, not objects +ok 61 — Works for objects +ok 62 — Works for maps +ok 63 — Works for regular expressions +ok 64 — Works for sets +ok 65 — Works for weak maps +ok 66 — Works for weak sets +ok 67 — Works for strings - returns true for primitive +ok 68 — Works for strings - returns true when using constructor +ok 69 — Works for numbers - returns true for primitive +ok 70 — Works for numbers - returns true when using constructor +ok 71 — Works for booleans - returns true for primitive +ok 72 — Works for booleans - returns true when using constructor +ok 73 — Works for functions -# PASS test/offset/offset.test.js +# PASS test/zipObject/zipObject.test.js -ok 164 — offset is a Function -ok 165 — Offset of 0 returns the same array. -ok 166 — Offset > 0 returns the offsetted array. -ok 167 — Offset < 0 returns the reverse offsetted array. -ok 168 — Offset greater than the length of the array returns the same array. -ok 169 — Offset less than the negative length of the array returns the same array. -ok 170 — Offsetting empty array returns an empty array. +ok 74 — zipObject is a Function +ok 75 — zipObject([a, b, c], [1, 2]) returns {a: 1, b: 2, c: undefined} +ok 76 — zipObject([a, b], [1, 2, 3]) returns {a: 1, b: 2} +ok 77 — zipObject([a, b, c], string) returns { a: s, b: t, c: r } +ok 78 — zipObject([a], string) returns { a: s } +ok 79 — zipObject() throws an error +ok 80 — zipObject((['string'], null) throws an error +ok 81 — zipObject(null, [1]) throws an error +ok 82 — zipObject('string') throws an error +ok 83 — zipObject('test', 'string') throws an error -# PASS test/uniqueElements/uniqueElements.test.js +# PASS test/union/union.test.js -ok 171 — uniqueElements is a Function -ok 172 — uniqueElements([1, 2, 2, 3, 4, 4, 5]) returns [1,2,3,4,5] -ok 173 — uniqueElements([1, 23, 53]) returns [1, 23, 53] -ok 174 — uniqueElements([true, 0, 1, false, false, undefined, null, '']) returns [true, 0, 1, false, false, undefined, null, ''] -ok 175 — uniqueElements() returns [] -ok 176 — uniqueElements(null) returns [] -ok 177 — uniqueElements(undefined) returns [] -ok 178 — uniqueElements('strt') returns ['s', 't', 'r'] -ok 179 — uniqueElements(1, 1, 2543, 534, 5) throws an error -ok 180 — uniqueElements({}) throws an error -ok 181 — uniqueElements(true) throws an error -ok 182 — uniqueElements(false) throws an error -ok 183 — uniqueElements([true, 0, 1, false, false, undefined, null]) takes less than 2s to run - -# PASS test/toCamelCase/toCamelCase.test.js - -ok 184 — toCamelCase is a Function -ok 185 — toCamelCase('some_database_field_name') returns someDatabaseFieldName -ok 186 — toCamelCase('Some label that needs to be camelized') returns someLabelThatNeedsToBeCamelized -ok 187 — toCamelCase('some-javascript-property') return someJavascriptProperty -ok 188 — toCamelCase('some-mixed_string with spaces_underscores-and-hyphens') returns someMixedStringWithSpacesUnderscoresAndHyphens -ok 189 — toCamelCase() throws a error -ok 190 — toCamelCase([]) throws a error -ok 191 — toCamelCase({}) throws a error -ok 192 — toCamelCase(123) throws a error -ok 193 — toCamelCase(some-mixed_string with spaces_underscores-and-hyphens) takes less than 2s to run - -# PASS test/all/all.test.js - -ok 194 — all is a Function -ok 195 — Returns true for arrays with no falsey values -ok 196 — Returns false for arrays with 0 -ok 197 — Returns false for arrays with NaN -ok 198 — Returns false for arrays with undefined -ok 199 — Returns false for arrays with null -ok 200 — Returns false for arrays with empty strings -ok 201 — Returns true with predicate function -ok 202 — Returns false with a predicate function +ok 84 — union is a Function +ok 85 — union([1, 2, 3], [4, 3, 2]) returns [1, 2, 3, 4] +ok 86 — union('str', 'asd') returns [ 's', 't', 'r', 'a', 'd' ] +ok 87 — union([[], {}], [1, 2, 3]) returns [[], {}, 1, 2, 3] +ok 88 — union([], []) returns [] +ok 89 — union() throws an error +ok 90 — union(true, 'str') throws an error +ok 91 — union('false', true) throws an error +ok 92 — union((123, {}) throws an error +ok 93 — union([], {}) throws an error +ok 94 — union(undefined, null) throws an error +ok 95 — union([1, 2, 3], [4, 3, 2]) takes less than 2s to run # PASS test/round/round.test.js -ok 203 — round is a Function -ok 204 — round(1.005, 2) returns 1.01 -ok 205 — round(123.3423345345345345344, 11) returns 123.34233453453 -ok 206 — round(3.342, 11) returns 3.342 -ok 207 — round(1.005) returns 1 -ok 208 — round([1.005, 2]) returns NaN -ok 209 — round(string) returns NaN -ok 210 — round() returns NaN -ok 211 — round(132, 413, 4134) returns NaN -ok 212 — round({a: 132}, 413) returns NaN -ok 213 — round(123.3423345345345345344, 11) takes less than 2s to run +ok 96 — round is a Function +ok 97 — round(1.005, 2) returns 1.01 +ok 98 — round(123.3423345345345345344, 11) returns 123.34233453453 +ok 99 — round(3.342, 11) returns 3.342 +ok 100 — round(1.005) returns 1 +ok 101 — round([1.005, 2]) returns NaN +ok 102 — round(string) returns NaN +ok 103 — round() returns NaN +ok 104 — round(132, 413, 4134) returns NaN +ok 105 — round({a: 132}, 413) returns NaN +ok 106 — round(123.3423345345345345344, 11) takes less than 2s to run -# PASS test/zip/zip.test.js +# PASS test/toCamelCase/toCamelCase.test.js -ok 214 — zip is a Function -ok 215 — zip([a, b], [1, 2], [true, false]) returns [[a, 1, true], [b, 2, false]] -ok 216 — zip([a], [1, 2], [true, false]) returns [[a, 1, true], [undefined, 2, false]] -ok 217 — zip([]) returns [] -ok 218 — zip(123) returns [] -ok 219 — zip([a, b], [1, 2], [true, false]) returns an Array -ok 220 — zip([a], [1, 2], [true, false]) returns an Array -ok 221 — zip(null) throws an error -ok 222 — zip(undefined) throws an error +ok 107 — toCamelCase is a Function +ok 108 — toCamelCase('some_database_field_name') returns someDatabaseFieldName +ok 109 — toCamelCase('Some label that needs to be camelized') returns someLabelThatNeedsToBeCamelized +ok 110 — toCamelCase('some-javascript-property') return someJavascriptProperty +ok 111 — toCamelCase('some-mixed_string with spaces_underscores-and-hyphens') returns someMixedStringWithSpacesUnderscoresAndHyphens +ok 112 — toCamelCase() throws a error +ok 113 — toCamelCase([]) throws a error +ok 114 — toCamelCase({}) throws a error +ok 115 — toCamelCase(123) throws a error +ok 116 — toCamelCase(some-mixed_string with spaces_underscores-and-hyphens) takes less than 2s to run -# PASS test/randomIntArrayInRange/randomIntArrayInRange.test.js +# PASS test/isSorted/isSorted.test.js -ok 223 — randomIntArrayInRange is a Function -ok 224 — The returned array contains only integers -ok 225 — The returned array has the proper length -ok 226 — The returned array's values lie between provided lowerLimit and upperLimit (both inclusive). - -# PASS test/yesNo/yesNo.test.js - -ok 227 — yesNo is a Function -ok 228 — yesNo(Y) returns true -ok 229 — yesNo(yes) returns true -ok 230 — yesNo(foo, true) returns true -ok 231 — yesNo(No) returns false -ok 232 — yesNo() returns false -ok 233 — yesNo(null) returns false -ok 234 — yesNo(undefined) returns false -ok 235 — yesNo([123, null]) returns false -ok 236 — yesNo([Yes, No]) returns false -ok 237 — yesNo({ 2: Yes }) returns false -ok 238 — yesNo([Yes, No], true) returns true -ok 239 — yesNo({ 2: Yes }, true) returns true - -# PASS test/uniqueElementsBy/uniqueElementsBy.test.js - -ok 240 — uniqueElementsBy is a Function -ok 241 — uniqueElementsBy works for properties -ok 242 — uniqueElementsBy works for nested properties - -# PASS test/equals/equals.test.js - -ok 243 — equals is a Function -ok 244 — { a: [2, {e: 3}], b: [4], c: 'foo' } is equal to { a: [2, {e: 3}], b: [4], c: 'foo' } -ok 245 — [1,2,3] is equal to [1,2,3] -ok 246 — { a: [2, 3], b: [4] } is not equal to { a: [2, 3], b: [6] } -ok 247 — [1,2,3] is not equal to [1,2,4] -ok 248 — [1, 2, 3] should be equal to { 0: 1, 1: 2, 2: 3 }) - type is different, but their enumerable properties match. - -# PASS test/chunk/chunk.test.js - -ok 249 — chunk is a Function -ok 250 — chunk([1, 2, 3, 4, 5], 2) returns [[1,2],[3,4],[5]] -ok 251 — chunk([]) returns [] -ok 252 — chunk(123) returns [] -ok 253 — chunk({ a: 123}) returns [] -ok 254 — chunk(string, 2) returns [ st, ri, ng ] -ok 255 — chunk() throws an error -ok 256 — chunk(undefined) throws an error -ok 257 — chunk(null) throws an error -ok 258 — chunk(This is a string, 2) takes less than 2s to run - -# PASS test/filterNonUniqueBy/filterNonUniqueBy.test.js - -ok 259 — filterNonUniqueBy is a Function -ok 260 — filterNonUniqueBy works for properties -ok 261 — filterNonUniqueBy works for nested properties - -# PASS test/head/head.test.js - -ok 262 — head is a Function -ok 263 — head({ a: 1234}) returns undefined -ok 264 — head([1, 2, 3]) returns 1 -ok 265 — head({ 0: false}) returns false -ok 266 — head(String) returns S -ok 267 — head(null) throws an Error -ok 268 — head(undefined) throws an Error -ok 269 — head() throws an Error -ok 270 — head([1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 1122, 32124, 23232]) takes less than 2s to run - -# PASS test/pluralize/pluralize.test.js - -ok 271 — pluralize is a Function -ok 272 — Produces the plural of the word -ok 273 — Produces the singular of the word -ok 274 — Produces the plural of the word -ok 275 — Prodices the defined plural of the word -ok 276 — Works with a dictionary - -# PASS test/last/last.test.js - -ok 277 — last is a Function -ok 278 — last({ a: 1234}) returns undefined -ok 279 — last([1, 2, 3]) returns 3 -ok 280 — last({ 0: false}) returns undefined -ok 281 — last(String) returns g -ok 282 — last(null) throws an Error -ok 283 — last(undefined) throws an Error -ok 284 — last() throws an Error -ok 285 — last([1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 1122, 32124, 23232]) takes less than 2s to run - -# PASS test/allEqual/allEqual.test.js - -ok 286 — allEqual is a Function -ok 287 — Truthy numbers -ok 288 — Falsy numbers -ok 289 — Truthy strings -ok 290 — Falsy numbers -ok 291 — Truthy trues -ok 292 — Truthy falses -ok 293 — Falsy trues -ok 294 — Falsy falses +ok 117 — isSorted is a Function +ok 118 — Array is sorted in ascending order +ok 119 — Array is sorted in ascending order +ok 120 — Array is sorted in ascending order +ok 121 — Array is sorted in ascending order +ok 122 — Array is sorted in descending order +ok 123 — Array is sorted in descending order +ok 124 — Array is sorted in descending order +ok 125 — Array is sorted in descending order +ok 126 — Array is empty +ok 127 — Array is not sorted, direction changed in array +ok 128 — Array is not sorted, direction changed in array # PASS test/longestItem/longestItem.test.js -ok 295 — longestItem is a Function -ok 296 — Returns the longest object from plain values -ok 297 — Returns the longest object from a spread array -ok 298 — Returns the longest object from mixed input -ok 299 — Returns the longest array -ok 300 — Returns the longest object when comparing arrays and strings -ok 301 — Returns undefined without any input -ok 302 — Returns first found of all similar -ok 303 — Throws TypeError if all inputs are undefined +ok 129 — longestItem is a Function +ok 130 — Returns the longest object from plain values +ok 131 — Returns the longest object from a spread array +ok 132 — Returns the longest object from mixed input +ok 133 — Returns the longest array +ok 134 — Returns the longest object when comparing arrays and strings +ok 135 — Returns undefined without any input +ok 136 — Returns first found of all similar +ok 137 — Throws TypeError if all inputs are undefined -# PASS test/orderBy/orderBy.test.js +# PASS test/uniqueElements/uniqueElements.test.js -ok 304 — orderBy is a Function -ok 305 — Returns a sorted array of objects ordered by properties and orders. -ok 306 — Returns a sorted array of objects ordered by properties and orders. +ok 138 — uniqueElements is a Function +ok 139 — uniqueElements([1, 2, 2, 3, 4, 4, 5]) returns [1,2,3,4,5] +ok 140 — uniqueElements([1, 23, 53]) returns [1, 23, 53] +ok 141 — uniqueElements([true, 0, 1, false, false, undefined, null, '']) returns [true, 0, 1, false, false, undefined, null, ''] +ok 142 — uniqueElements() returns [] +ok 143 — uniqueElements(null) returns [] +ok 144 — uniqueElements(undefined) returns [] +ok 145 — uniqueElements('strt') returns ['s', 't', 'r'] +ok 146 — uniqueElements(1, 1, 2543, 534, 5) throws an error +ok 147 — uniqueElements({}) throws an error +ok 148 — uniqueElements(true) throws an error +ok 149 — uniqueElements(false) throws an error +ok 150 — uniqueElements([true, 0, 1, false, false, undefined, null]) takes less than 2s to run + +# PASS test/validateNumber/validateNumber.test.js + +ok 151 — validateNumber is a Function +ok 152 — validateNumber(9) returns true +ok 153 — validateNumber(234asd.slice(0, 2)) returns true +ok 154 — validateNumber(1232) returns true +ok 155 — validateNumber(1232 + 13423) returns true +ok 156 — validateNumber(1232 * 2342 * 123) returns true +ok 157 — validateNumber(1232.23423536) returns true +ok 158 — validateNumber(234asd) returns false +ok 159 — validateNumber(e234d) returns false +ok 160 — validateNumber(false) returns false +ok 161 — validateNumber(true) returns false +ok 162 — validateNumber(null) returns false +ok 163 — validateNumber(123 * asd) returns false + +# PASS test/quickSort/quickSort.test.js + +ok 164 — quickSort is a Function +ok 165 — quickSort([5, 6, 4, 3, 1, 2]) returns [1, 2, 3, 4, 5, 6] +ok 166 — quickSort([-1, 0, -2]) returns [-2, -1, 0] +ok 167 — quickSort() throws an error +ok 168 — quickSort(123) throws an error +ok 169 — quickSort({ 234: string}) throws an error +ok 170 — quickSort(null) throws an error +ok 171 — quickSort(undefined) throws an error +ok 172 — quickSort([11, 1, 324, 23232, -1, 53, 2, 524, 32, 13, 156, 133, 62, 12, 4]) takes less than 2s to run + +# PASS test/isEmpty/isEmpty.test.js + +ok 173 — isEmpty is a Function +ok 174 — Returns true for empty Map +ok 175 — Returns true for empty Set +ok 176 — Returns true for empty array +ok 177 — Returns true for empty object +ok 178 — Returns true for empty string +ok 179 — Returns false for non-empty array +ok 180 — Returns false for non-empty object +ok 181 — Returns false for non-empty string +ok 182 — Returns true - type is not considered a collection +ok 183 — Returns true - type is not considered a collection + +# PASS test/head/head.test.js + +ok 184 — head is a Function +ok 185 — head({ a: 1234}) returns undefined +ok 186 — head([1, 2, 3]) returns 1 +ok 187 — head({ 0: false}) returns false +ok 188 — head(String) returns S +ok 189 — head(null) throws an Error +ok 190 — head(undefined) throws an Error +ok 191 — head() throws an Error +ok 192 — head([1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 1122, 32124, 23232]) takes less than 2s to run + +# PASS test/yesNo/yesNo.test.js + +ok 193 — yesNo is a Function +ok 194 — yesNo(Y) returns true +ok 195 — yesNo(yes) returns true +ok 196 — yesNo(foo, true) returns true +ok 197 — yesNo(No) returns false +ok 198 — yesNo() returns false +ok 199 — yesNo(null) returns false +ok 200 — yesNo(undefined) returns false +ok 201 — yesNo([123, null]) returns false +ok 202 — yesNo([Yes, No]) returns false +ok 203 — yesNo({ 2: Yes }) returns false +ok 204 — yesNo([Yes, No], true) returns true +ok 205 — yesNo({ 2: Yes }, true) returns true + +# PASS test/words/words.test.js + +ok 206 — words is a Function +ok 207 — words('I love javaScript!!') returns [I, love, javaScript] +ok 208 — words('python, javaScript & coffee') returns [python, javaScript, coffee] +ok 209 — words(I love javaScript!!) returns an array +ok 210 — words() throws an error +ok 211 — words(null) throws an error +ok 212 — words(undefined) throws an error +ok 213 — words({}) throws an error +ok 214 — words([]) throws an error +ok 215 — words(1234) throws an error + +# PASS test/filterNonUniqueBy/filterNonUniqueBy.test.js + +ok 216 — filterNonUniqueBy is a Function +ok 217 — filterNonUniqueBy works for properties +ok 218 — filterNonUniqueBy works for nested properties + +# PASS test/without/without.test.js + +ok 219 — without is a Function +ok 220 — without([2, 1, 2, 3], 1, 2) returns [3] +ok 221 — without([]) returns [] +ok 222 — without([3, 1, true, '3', true], '3', true) returns [3, 1] +ok 223 — without('string'.split(''), 's', 't', 'g') returns ['r', 'i', 'n'] +ok 224 — without() throws an error +ok 225 — without(null) throws an error +ok 226 — without(undefined) throws an error +ok 227 — without(123) throws an error +ok 228 — without({}) throws an error + +# PASS test/uniqueElementsByRight/uniqueElementsByRight.test.js + +ok 229 — uniqueElementsByRight is a Function +ok 230 — uniqueElementsByRight works for properties +ok 231 — uniqueElementsByRight works for nested properties + +# PASS test/chunk/chunk.test.js + +ok 232 — chunk is a Function +ok 233 — chunk([1, 2, 3, 4, 5], 2) returns [[1,2],[3,4],[5]] +ok 234 — chunk([]) returns [] +ok 235 — chunk(123) returns [] +ok 236 — chunk({ a: 123}) returns [] +ok 237 — chunk(string, 2) returns [ st, ri, ng ] +ok 238 — chunk() throws an error +ok 239 — chunk(undefined) throws an error +ok 240 — chunk(null) throws an error +ok 241 — chunk(This is a string, 2) takes less than 2s to run + +# PASS test/randomIntArrayInRange/randomIntArrayInRange.test.js + +ok 242 — randomIntArrayInRange is a Function +ok 243 — The returned array contains only integers +ok 244 — The returned array has the proper length +ok 245 — The returned array's values lie between provided lowerLimit and upperLimit (both inclusive). + +# PASS test/zip/zip.test.js + +ok 246 — zip is a Function +ok 247 — zip([a, b], [1, 2], [true, false]) returns [[a, 1, true], [b, 2, false]] +ok 248 — zip([a], [1, 2], [true, false]) returns [[a, 1, true], [undefined, 2, false]] +ok 249 — zip([]) returns [] +ok 250 — zip(123) returns [] +ok 251 — zip([a, b], [1, 2], [true, false]) returns an Array +ok 252 — zip([a], [1, 2], [true, false]) returns an Array +ok 253 — zip(null) throws an error +ok 254 — zip(undefined) throws an error + +# PASS test/allEqual/allEqual.test.js + +ok 255 — allEqual is a Function +ok 256 — Truthy numbers +ok 257 — Falsy numbers +ok 258 — Truthy strings +ok 259 — Falsy numbers +ok 260 — Truthy trues +ok 261 — Truthy falses +ok 262 — Falsy trues +ok 263 — Falsy falses + +# PASS test/last/last.test.js + +ok 264 — last is a Function +ok 265 — last({ a: 1234}) returns undefined +ok 266 — last([1, 2, 3]) returns 3 +ok 267 — last({ 0: false}) returns undefined +ok 268 — last(String) returns g +ok 269 — last(null) throws an Error +ok 270 — last(undefined) throws an Error +ok 271 — last() throws an Error +ok 272 — last([1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 1122, 32124, 23232]) takes less than 2s to run + +# PASS test/uniqueElementsBy/uniqueElementsBy.test.js + +ok 273 — uniqueElementsBy is a Function +ok 274 — uniqueElementsBy works for properties +ok 275 — uniqueElementsBy works for nested properties # PASS test/deepFreeze/deepFreeze.test.js -ok 307 — deepFreeze is a Function -ok 308 — modifying deeply freezed object prop throws an error in strict mode -ok 309 — should not modify deeply freezed object inside another object -ok 310 — should not add prop to deeply freezed empty object - -# PASS test/sampleSize/sampleSize.test.js - -ok 311 — sampleSize is a Function -ok 312 — Returns a single element without n specified -ok 313 — Returns a random sample of specified size from an array -ok 314 — Returns all elements in an array if n >= length -ok 315 — Returns an empty array if original array is empty -ok 316 — Returns an empty array if n = 0 +ok 276 — deepFreeze is a Function +ok 277 — modifying deeply freezed object prop throws an error in strict mode +ok 278 — should not modify deeply freezed object inside another object +ok 279 — should not add prop to deeply freezed empty object # PASS test/CSVToArray/CSVToArray.test.js -ok 317 — CSVToArray is a Function -ok 318 — CSVToArray works with default delimiter -ok 319 — CSVToArray works with custom delimiter -ok 320 — CSVToArray omits the first row -ok 321 — CSVToArray omits the first row and works with a custom delimiter +ok 280 — CSVToArray is a Function +ok 281 — CSVToArray works with default delimiter +ok 282 — CSVToArray works with custom delimiter +ok 283 — CSVToArray omits the first row +ok 284 — CSVToArray omits the first row and works with a custom delimiter -# PASS test/dig/dig.test.js +# PASS test/pluralize/pluralize.test.js -ok 322 — dig is a Function -ok 323 — Dig target success -ok 324 — Dig target with falsey value -ok 325 — Dig target with array -ok 326 — Unknown target return undefined +ok 285 — pluralize is a Function +ok 286 — Produces the plural of the word +ok 287 — Produces the singular of the word +ok 288 — Produces the plural of the word +ok 289 — Prodices the defined plural of the word +ok 290 — Works with a dictionary -# PASS test/randomNumberInRange/randomNumberInRange.test.js +# PASS test/equals/equals.test.js -ok 327 — randomNumberInRange is a Function -ok 328 — The returned value is a number -ok 329 — The returned value lies between provided lowerLimit and upperLimit (both inclusive). +ok 291 — equals is a Function +ok 292 — { a: [2, {e: 3}], b: [4], c: 'foo' } is equal to { a: [2, {e: 3}], b: [4], c: 'foo' } +ok 293 — [1,2,3] is equal to [1,2,3] +ok 294 — { a: [2, 3], b: [4] } is not equal to { a: [2, 3], b: [6] } +ok 295 — [1,2,3] is not equal to [1,2,4] +ok 296 — [1, 2, 3] should be equal to { 0: 1, 1: 2, 2: 3 }) - type is different, but their enumerable properties match. -# PASS test/fromCamelCase/fromCamelCase.test.js +# PASS test/orderBy/orderBy.test.js -ok 330 — fromCamelCase is a Function -ok 331 — Converts a string from camelcase -ok 332 — Converts a string from camelcase -ok 333 — Converts a string from camelcase - -# PASS test/any/any.test.js - -ok 334 — any is a Function -ok 335 — Returns true for arrays with at least one truthy value -ok 336 — Returns false for arrays with no truthy values -ok 337 — Returns false for arrays with no truthy values -ok 338 — Returns true with predicate function -ok 339 — Returns false with a predicate function +ok 297 — orderBy is a Function +ok 298 — Returns a sorted array of objects ordered by properties and orders. +ok 299 — Returns a sorted array of objects ordered by properties and orders. # PASS test/randomIntegerInRange/randomIntegerInRange.test.js -ok 340 — randomIntegerInRange is a Function -ok 341 — The returned value is an integer -ok 342 — The returned value lies between provided lowerLimit and upperLimit (both inclusive). - -# PASS test/toCurrency/toCurrency.test.js - -ok 343 — toCurrency is a Function -ok 344 — currency: Euro | currencyLangFormat: Local -ok 345 — currency: US Dollar | currencyLangFormat: English (United States) -ok 346 — currency: Japanese Yen | currencyLangFormat: Local - -# PASS test/geometricProgression/geometricProgression.test.js - -ok 347 — geometricProgression is a Function -ok 348 — Initializes an array containing the numbers in the specified range -ok 349 — Initializes an array containing the numbers in the specified range -ok 350 — Initializes an array containing the numbers in the specified range - -# PASS test/mapString/mapString.test.js - -ok 351 — mapString is a Function -ok 352 — mapString returns a capitalized string -ok 353 — mapString can deal with indexes -ok 354 — mapString can deal with the full string - -# PASS test/mapObject/mapObject.test.js - -ok 355 — mapObject is a Function -ok 356 — mapObject([1, 2, 3], a => a * a) returns { 1: 1, 2: 4, 3: 9 } -ok 357 — mapObject([1, 2, 3, 4], (a, b) => b - a) returns { 1: -1, 2: -1, 3: -1, 4: -1 } -ok 358 — mapObject([1, 2, 3, 4], (a, b) => a - b) returns { 1: 1, 2: 1, 3: 1, 4: 1 } - -# PASS test/binomialCoefficient/binomialCoefficient.test.js - -ok 359 — binomialCoefficient is a Function -ok 360 — Returns the appropriate value -ok 361 — Returns the appropriate value -ok 362 — Returns the appropriate value -ok 363 — Returns NaN -ok 364 — Returns NaN - -# PASS test/none/none.test.js - -ok 365 — none is a Function -ok 366 — Returns true for arrays with no truthy values -ok 367 — Returns false for arrays with at least one truthy value -ok 368 — Returns true with a predicate function -ok 369 — Returns false with predicate function - -# PASS test/reduceWhich/reduceWhich.test.js - -ok 370 — reduceWhich is a Function -ok 371 — Returns the minimum of an array -ok 372 — Returns the maximum of an array -ok 373 — Returns the object with the minimum specified value in an array - -# PASS test/join/join.test.js - -ok 374 — join is a Function -ok 375 — Joins all elements of an array into a string and returns this string -ok 376 — Joins all elements of an array into a string and returns this string -ok 377 — Joins all elements of an array into a string and returns this string - -# PASS test/invertKeyValues/invertKeyValues.test.js - -ok 378 — invertKeyValues is a Function -ok 379 — invertKeyValues({ a: 1, b: 2, c: 1 }) returns { 1: [ 'a', 'c' ], 2: [ 'b' ] } -ok 380 — invertKeyValues({ a: 1, b: 2, c: 1 }, value => 'group' + value) returns { group1: [ 'a', 'c' ], group2: [ 'b' ] } - -# PASS test/castArray/castArray.test.js - -ok 381 — castArray is a Function -ok 382 — Works for single values -ok 383 — Works for arrays with one value -ok 384 — Works for arrays with multiple value -ok 385 — Works for strings -ok 386 — Works for objects - -# PASS test/approximatelyEqual/approximatelyEqual.test.js - -ok 387 — approximatelyEqual is a Function -ok 388 — Works for PI / 2 -ok 389 — Works for 0.1 + 0.2 === 0.3 -ok 390 — Works for exactly equal values -ok 391 — Works for a custom epsilon - -# PASS test/randomHexColorCode/randomHexColorCode.test.js - -ok 392 — randomHexColorCode is a Function -ok 393 — randomHexColorCode has to proper length -ok 394 — The color code starts with "#" -ok 395 — The color code contains only valid hex-digits +ok 300 — randomIntegerInRange is a Function +ok 301 — The returned value is an integer +ok 302 — The returned value lies between provided lowerLimit and upperLimit (both inclusive). # PASS test/initializeArrayWithRange/initializeArrayWithRange.test.js -ok 396 — initializeArrayWithRange is a Function -ok 397 — Initializes an array containing the numbers in the specified range (witout start value) -ok 398 — Initializes an array containing the numbers in the specified range -ok 399 — Initializes an array containing the numbers in the specified range (with step) +ok 303 — initializeArrayWithRange is a Function +ok 304 — Initializes an array containing the numbers in the specified range (witout start value) +ok 305 — Initializes an array containing the numbers in the specified range +ok 306 — Initializes an array containing the numbers in the specified range (with step) -# PASS test/inRange/inRange.test.js +# PASS test/all/all.test.js -ok 400 — inRange is a Function -ok 401 — The given number falls within the given range -ok 402 — The given number falls within the given range -ok 403 — The given number does not falls within the given range -ok 404 — The given number does not falls within the given range +ok 307 — all is a Function +ok 308 — Returns true for arrays with no falsey values +ok 309 — Returns false for arrays with 0 +ok 310 — Returns false for arrays with NaN +ok 311 — Returns false for arrays with undefined +ok 312 — Returns false for arrays with null +ok 313 — Returns false for arrays with empty strings +ok 314 — Returns true with predicate function +ok 315 — Returns false with a predicate function -# PASS test/binarySearch/binarySearch.test.js +# PASS test/offset/offset.test.js -ok 405 — binarySearch is a Function -ok 406 — Finds item in array -ok 407 — Returns -1 when not found -ok 408 — Works with empty arrays -ok 409 — Works for one element arrays +ok 316 — offset is a Function +ok 317 — Offset of 0 returns the same array. +ok 318 — Offset > 0 returns the offsetted array. +ok 319 — Offset < 0 returns the reverse offsetted array. +ok 320 — Offset greater than the length of the array returns the same array. +ok 321 — Offset less than the negative length of the array returns the same array. +ok 322 — Offsetting empty array returns an empty array. -# PASS test/mask/mask.test.js +# PASS test/sampleSize/sampleSize.test.js -ok 410 — mask is a Function -ok 411 — Replaces all but the last num of characters with the specified mask character -ok 412 — Replaces all but the last num of characters with the specified mask character -ok 413 — Replaces all but the last num of characters with the specified mask character +ok 323 — sampleSize is a Function +ok 324 — Returns a single element without n specified +ok 325 — Returns a random sample of specified size from an array +ok 326 — Returns all elements in an array if n >= length +ok 327 — Returns an empty array if original array is empty +ok 328 — Returns an empty array if n = 0 + +# PASS test/randomNumberInRange/randomNumberInRange.test.js + +ok 329 — randomNumberInRange is a Function +ok 330 — The returned value is a number +ok 331 — The returned value lies between provided lowerLimit and upperLimit (both inclusive). + +# PASS test/any/any.test.js + +ok 332 — any is a Function +ok 333 — Returns true for arrays with at least one truthy value +ok 334 — Returns false for arrays with no truthy values +ok 335 — Returns false for arrays with no truthy values +ok 336 — Returns true with predicate function +ok 337 — Returns false with a predicate function + +# PASS test/geometricProgression/geometricProgression.test.js + +ok 338 — geometricProgression is a Function +ok 339 — Initializes an array containing the numbers in the specified range +ok 340 — Initializes an array containing the numbers in the specified range +ok 341 — Initializes an array containing the numbers in the specified range + +# PASS test/toCurrency/toCurrency.test.js + +ok 342 — toCurrency is a Function +ok 343 — currency: Euro | currencyLangFormat: Local +ok 344 — currency: US Dollar | currencyLangFormat: English (United States) +ok 345 — currency: Japanese Yen | currencyLangFormat: Local + +# PASS test/mapObject/mapObject.test.js + +ok 346 — mapObject is a Function +ok 347 — mapObject([1, 2, 3], a => a * a) returns { 1: 1, 2: 4, 3: 9 } +ok 348 — mapObject([1, 2, 3, 4], (a, b) => b - a) returns { 1: -1, 2: -1, 3: -1, 4: -1 } +ok 349 — mapObject([1, 2, 3, 4], (a, b) => a - b) returns { 1: 1, 2: 1, 3: 1, 4: 1 } + +# PASS test/join/join.test.js + +ok 350 — join is a Function +ok 351 — Joins all elements of an array into a string and returns this string +ok 352 — Joins all elements of an array into a string and returns this string +ok 353 — Joins all elements of an array into a string and returns this string + +# PASS test/binomialCoefficient/binomialCoefficient.test.js + +ok 354 — binomialCoefficient is a Function +ok 355 — Returns the appropriate value +ok 356 — Returns the appropriate value +ok 357 — Returns the appropriate value +ok 358 — Returns NaN +ok 359 — Returns NaN + +# PASS test/mapString/mapString.test.js + +ok 360 — mapString is a Function +ok 361 — mapString returns a capitalized string +ok 362 — mapString can deal with indexes +ok 363 — mapString can deal with the full string + +# PASS test/dig/dig.test.js + +ok 364 — dig is a Function +ok 365 — Dig target success +ok 366 — Dig target with falsey value +ok 367 — Dig target with array +ok 368 — Unknown target return undefined + +# PASS test/invertKeyValues/invertKeyValues.test.js + +ok 369 — invertKeyValues is a Function +ok 370 — invertKeyValues({ a: 1, b: 2, c: 1 }) returns { 1: [ 'a', 'c' ], 2: [ 'b' ] } +ok 371 — invertKeyValues({ a: 1, b: 2, c: 1 }, value => 'group' + value) returns { group1: [ 'a', 'c' ], group2: [ 'b' ] } + +# PASS test/fromCamelCase/fromCamelCase.test.js + +ok 372 — fromCamelCase is a Function +ok 373 — Converts a string from camelcase +ok 374 — Converts a string from camelcase +ok 375 — Converts a string from camelcase + +# PASS test/reduceWhich/reduceWhich.test.js + +ok 376 — reduceWhich is a Function +ok 377 — Returns the minimum of an array +ok 378 — Returns the maximum of an array +ok 379 — Returns the object with the minimum specified value in an array + +# PASS test/approximatelyEqual/approximatelyEqual.test.js + +ok 380 — approximatelyEqual is a Function +ok 381 — Works for PI / 2 +ok 382 — Works for 0.1 + 0.2 === 0.3 +ok 383 — Works for exactly equal values +ok 384 — Works for a custom epsilon + +# PASS test/none/none.test.js + +ok 385 — none is a Function +ok 386 — Returns true for arrays with no truthy values +ok 387 — Returns false for arrays with at least one truthy value +ok 388 — Returns true with a predicate function +ok 389 — Returns false with predicate function + +# PASS test/randomHexColorCode/randomHexColorCode.test.js + +ok 390 — randomHexColorCode is a Function +ok 391 — randomHexColorCode has to proper length +ok 392 — The color code starts with "#" +ok 393 — The color code contains only valid hex-digits # PASS test/factorial/factorial.test.js -ok 414 — factorial is a Function -ok 415 — Calculates the factorial of 720 -ok 416 — Calculates the factorial of 0 -ok 417 — Calculates the factorial of 1 -ok 418 — Calculates the factorial of 4 -ok 419 — Calculates the factorial of 10 +ok 394 — factorial is a Function +ok 395 — Calculates the factorial of 720 +ok 396 — Calculates the factorial of 0 +ok 397 — Calculates the factorial of 1 +ok 398 — Calculates the factorial of 4 +ok 399 — Calculates the factorial of 10 -# PASS test/JSONtoCSV/JSONtoCSV.test.js +# PASS test/castArray/castArray.test.js -ok 420 — JSONtoCSV is a Function -ok 421 — JSONtoCSV works with default delimiter -ok 422 — JSONtoCSV works with custom delimiter +ok 400 — castArray is a Function +ok 401 — Works for single values +ok 402 — Works for arrays with one value +ok 403 — Works for arrays with multiple value +ok 404 — Works for strings +ok 405 — Works for objects -# PASS test/capitalize/capitalize.test.js +# PASS test/binarySearch/binarySearch.test.js -ok 423 — capitalize is a Function -ok 424 — Capitalizes the first letter of a string -ok 425 — Capitalizes the first letter of a string -ok 426 — Works with characters -ok 427 — "Works with single character words +ok 406 — binarySearch is a Function +ok 407 — Finds item in array +ok 408 — Returns -1 when not found +ok 409 — Works with empty arrays +ok 410 — Works for one element arrays -# PASS test/toOrdinalSuffix/toOrdinalSuffix.test.js +# PASS test/mask/mask.test.js -ok 428 — toOrdinalSuffix is a Function -ok 429 — Adds an ordinal suffix to a number -ok 430 — Adds an ordinal suffix to a number -ok 431 — Adds an ordinal suffix to a number -ok 432 — Adds an ordinal suffix to a number +ok 411 — mask is a Function +ok 412 — Replaces all but the last num of characters with the specified mask character +ok 413 — Replaces all but the last num of characters with the specified mask character +ok 414 — Replaces all but the last num of characters with the specified mask character # PASS test/isAnagram/isAnagram.test.js -ok 433 — isAnagram is a Function -ok 434 — Checks valid anagram -ok 435 — Works with spaces -ok 436 — Ignores case -ok 437 — Ignores special characters +ok 415 — isAnagram is a Function +ok 416 — Checks valid anagram +ok 417 — Works with spaces +ok 418 — Ignores case +ok 419 — Ignores special characters -# PASS test/converge/converge.test.js +# PASS test/inRange/inRange.test.js -ok 438 — converge is a Function -ok 439 — Produces the average of the array -ok 440 — Produces the strange concatenation +ok 420 — inRange is a Function +ok 421 — The given number falls within the given range +ok 422 — The given number falls within the given range +ok 423 — The given number does not falls within the given range +ok 424 — The given number does not falls within the given range -# PASS test/tomorrow/tomorrow.test.js +# PASS test/JSONtoCSV/JSONtoCSV.test.js -ok 441 — tomorrow is a Function -ok 442 — Returns the correct year -ok 443 — Returns the correct month -ok 444 — Returns the correct date - -# PASS test/deepClone/deepClone.test.js - -ok 445 — deepClone is a Function -ok 446 — Shallow cloning works -ok 447 — Deep cloning works -ok 448 — Array shallow cloning works -ok 449 — Array deep cloning works - -# PASS test/prettyBytes/prettyBytes.test.js - -ok 450 — prettyBytes is a Function -ok 451 — Converts a number in bytes to a human-readable string. -ok 452 — Converts a number in bytes to a human-readable string. -ok 453 — Converts a number in bytes to a human-readable string. - -# PASS test/shuffle/shuffle.test.js - -ok 454 — shuffle is a Function -ok 455 — Shuffles the array -ok 456 — New array contains all original elements -ok 457 — Works for empty arrays -ok 458 — Works for single-element arrays - -# PASS test/dropRight/dropRight.test.js - -ok 459 — dropRight is a Function -ok 460 — Returns a new array with n elements removed from the right -ok 461 — Returns a new array with n elements removed from the right -ok 462 — Returns a new array with n elements removed from the right - -# PASS test/stringPermutations/stringPermutations.test.js - -ok 463 — stringPermutations is a Function -ok 464 — Generates all stringPermutations of a string -ok 465 — Works for single-letter strings -ok 466 — Works for empty strings +ok 425 — JSONtoCSV is a Function +ok 426 — JSONtoCSV works with default delimiter +ok 427 — JSONtoCSV works with custom delimiter # PASS test/isString/isString.test.js -ok 467 — isString is a Function -ok 468 — foo is a string -ok 469 — "10" is a string -ok 470 — Empty string is a string -ok 471 — 10 is not a string -ok 472 — true is not string +ok 428 — isString is a Function +ok 429 — foo is a string +ok 430 — "10" is a string +ok 431 — Empty string is a string +ok 432 — 10 is not a string +ok 433 — true is not string -# PASS test/capitalizeEveryWord/capitalizeEveryWord.test.js +# PASS test/toOrdinalSuffix/toOrdinalSuffix.test.js -ok 473 — capitalizeEveryWord is a Function -ok 474 — Capitalizes the first letter of every word in a string -ok 475 — Works with characters -ok 476 — Works with one word string +ok 434 — toOrdinalSuffix is a Function +ok 435 — Adds an ordinal suffix to a number +ok 436 — Adds an ordinal suffix to a number +ok 437 — Adds an ordinal suffix to a number +ok 438 — Adds an ordinal suffix to a number -# PASS test/isObject/isObject.test.js +# PASS test/deepClone/deepClone.test.js -ok 477 — isObject is a Function -ok 478 — isObject([1, 2, 3, 4]) is a object -ok 479 — isObject([]) is a object -ok 480 — isObject({ a:1 }) is a object -ok 481 — isObject(true) is not a object +ok 439 — deepClone is a Function +ok 440 — Shallow cloning works +ok 441 — Deep cloning works +ok 442 — Array shallow cloning works +ok 443 — Array deep cloning works -# PASS test/URLJoin/URLJoin.test.js +# PASS test/capitalize/capitalize.test.js -ok 482 — URLJoin is a Function -ok 483 — Returns proper URL -ok 484 — Returns proper URL +ok 444 — capitalize is a Function +ok 445 — Capitalizes the first letter of a string +ok 446 — Capitalizes the first letter of a string +ok 447 — Works with characters +ok 448 — "Works with single character words -# PASS test/standardDeviation/standardDeviation.test.js +# PASS test/converge/converge.test.js -ok 485 — standardDeviation is a Function -ok 486 — Returns the standard deviation of an array of numbers -ok 487 — Returns the standard deviation of an array of numbers +ok 449 — converge is a Function +ok 450 — Produces the average of the array +ok 451 — Produces the strange concatenation -# PASS test/formatDuration/formatDuration.test.js +# PASS test/shuffle/shuffle.test.js -ok 488 — formatDuration is a Function -ok 489 — Returns the human readable format of the given number of milliseconds -ok 490 — Returns the human readable format of the given number of milliseconds +ok 452 — shuffle is a Function +ok 453 — Shuffles the array +ok 454 — New array contains all original elements +ok 455 — Works for empty arrays +ok 456 — Works for single-element arrays -# PASS test/isObjectLike/isObjectLike.test.js +# PASS test/stringPermutations/stringPermutations.test.js -ok 491 — isObjectLike is a Function -ok 492 — Returns true for an object -ok 493 — Returns true for an array -ok 494 — Returns false for a function -ok 495 — Returns false for null +ok 457 — stringPermutations is a Function +ok 458 — Generates all stringPermutations of a string +ok 459 — Works for single-letter strings +ok 460 — Works for empty strings + +# PASS test/tomorrow/tomorrow.test.js + +ok 461 — tomorrow is a Function +ok 462 — Returns the correct year +ok 463 — Returns the correct month +ok 464 — Returns the correct date + +# PASS test/dropRight/dropRight.test.js + +ok 465 — dropRight is a Function +ok 466 — Returns a new array with n elements removed from the right +ok 467 — Returns a new array with n elements removed from the right +ok 468 — Returns a new array with n elements removed from the right # PASS test/hexToRGB/hexToRGB.test.js -ok 496 — hexToRGB is a Function -ok 497 — Converts a color code to a rgb() or rgba() string -ok 498 — Converts a color code to a rgb() or rgba() string -ok 499 — Converts a color code to a rgb() or rgba() string +ok 469 — hexToRGB is a Function +ok 470 — Converts a color code to a rgb() or rgba() string +ok 471 — Converts a color code to a rgb() or rgba() string +ok 472 — Converts a color code to a rgb() or rgba() string -# PASS test/sumPower/sumPower.test.js +# PASS test/isObjectLike/isObjectLike.test.js -ok 500 — sumPower is a Function -ok 501 — Returns the sum of the powers of all the numbers from start to end -ok 502 — Returns the sum of the powers of all the numbers from start to end -ok 503 — Returns the sum of the powers of all the numbers from start to end +ok 473 — isObjectLike is a Function +ok 474 — Returns true for an object +ok 475 — Returns true for an array +ok 476 — Returns false for a function +ok 477 — Returns false for null + +# PASS test/prettyBytes/prettyBytes.test.js + +ok 478 — prettyBytes is a Function +ok 479 — Converts a number in bytes to a human-readable string. +ok 480 — Converts a number in bytes to a human-readable string. +ok 481 — Converts a number in bytes to a human-readable string. + +# PASS test/formatDuration/formatDuration.test.js + +ok 482 — formatDuration is a Function +ok 483 — Returns the human readable format of the given number of milliseconds +ok 484 — Returns the human readable format of the given number of milliseconds # PASS test/partition/partition.test.js -ok 504 — partition is a Function -ok 505 — Groups the elements into two arrays, depending on the provided function's truthiness for each element. +ok 485 — partition is a Function +ok 486 — Groups the elements into two arrays, depending on the provided function's truthiness for each element. -# PASS test/reducedFilter/reducedFilter.test.js +# PASS test/sumPower/sumPower.test.js -ok 506 — reducedFilter is a Function -ok 507 — Filter an array of objects based on a condition while also filtering out unspecified keys. +ok 487 — sumPower is a Function +ok 488 — Returns the sum of the powers of all the numbers from start to end +ok 489 — Returns the sum of the powers of all the numbers from start to end +ok 490 — Returns the sum of the powers of all the numbers from start to end -# PASS test/byteSize/byteSize.test.js +# PASS test/capitalizeEveryWord/capitalizeEveryWord.test.js -ok 508 — byteSize is a Function -ok 509 — Works for a single letter -ok 510 — Works for a common string -ok 511 — Works for emoji +ok 491 — capitalizeEveryWord is a Function +ok 492 — Capitalizes the first letter of every word in a string +ok 493 — Works with characters +ok 494 — Works with one word string -# PASS test/isAbsoluteURL/isAbsoluteURL.test.js +# PASS test/standardDeviation/standardDeviation.test.js -ok 512 — isAbsoluteURL is a Function -ok 513 — Given string is an absolute URL -ok 514 — Given string is an absolute URL -ok 515 — Given string is not an absolute URL +ok 495 — standardDeviation is a Function +ok 496 — Returns the standard deviation of an array of numbers +ok 497 — Returns the standard deviation of an array of numbers -# PASS test/sortedIndex/sortedIndex.test.js +# PASS test/isObject/isObject.test.js -ok 516 — sortedIndex is a Function -ok 517 — Returns the lowest index at which value should be inserted into array in order to maintain its sort order. -ok 518 — Returns the lowest index at which value should be inserted into array in order to maintain its sort order. +ok 498 — isObject is a Function +ok 499 — isObject([1, 2, 3, 4]) is a object +ok 500 — isObject([]) is a object +ok 501 — isObject({ a:1 }) is a object +ok 502 — isObject(true) is not a object + +# PASS test/URLJoin/URLJoin.test.js + +ok 503 — URLJoin is a Function +ok 504 — Returns proper URL +ok 505 — Returns proper URL # PASS test/untildify/untildify.test.js -ok 519 — untildify is a Function -ok 520 — Contains no tildes -ok 521 — Does not alter the rest of the path -ok 522 — Does not alter paths without tildes - -# PASS test/uniqueSymmetricDifference/uniqueSymmetricDifference.test.js - -ok 523 — uniqueSymmetricDifference is a Function -ok 524 — Returns the symmetric difference between two arrays. -ok 525 — Does not return duplicates from one array +ok 506 — untildify is a Function +ok 507 — Contains no tildes +ok 508 — Does not alter the rest of the path +ok 509 — Does not alter paths without tildes # PASS test/CSVToJSON/CSVToJSON.test.js -ok 526 — CSVToJSON is a Function -ok 527 — CSVToJSON works with default delimiter -ok 528 — CSVToJSON works with custom delimiter +ok 510 — CSVToJSON is a Function +ok 511 — CSVToJSON works with default delimiter +ok 512 — CSVToJSON works with custom delimiter + +# PASS test/reducedFilter/reducedFilter.test.js + +ok 513 — reducedFilter is a Function +ok 514 — Filter an array of objects based on a condition while also filtering out unspecified keys. # PASS test/unzip/unzip.test.js -ok 529 — unzip is a Function -ok 530 — unzip([['a', 1, true], ['b', 2, false]]) equals [['a','b'], [1, 2], [true, false]] -ok 531 — unzip([['a', 1, true], ['b', 2]]) equals [['a','b'], [1, 2], [true]] +ok 515 — unzip is a Function +ok 516 — unzip([['a', 1, true], ['b', 2, false]]) equals [['a','b'], [1, 2], [true, false]] +ok 517 — unzip([['a', 1, true], ['b', 2]]) equals [['a','b'], [1, 2], [true]] -# PASS test/matches/matches.test.js +# PASS test/byteSize/byteSize.test.js -ok 532 — matches is a Function -ok 533 — Matches returns true for two similar objects -ok 534 — Matches returns false for two non-similar objects +ok 518 — byteSize is a Function +ok 519 — Works for a single letter +ok 520 — Works for a common string +ok 521 — Works for emoji -# PASS test/collectInto/collectInto.test.js +# PASS test/isAbsoluteURL/isAbsoluteURL.test.js -ok 535 — collectInto is a Function -ok 536 — Works with multiple promises +ok 522 — isAbsoluteURL is a Function +ok 523 — Given string is an absolute URL +ok 524 — Given string is an absolute URL +ok 525 — Given string is not an absolute URL + +# PASS test/sortedIndex/sortedIndex.test.js + +ok 526 — sortedIndex is a Function +ok 527 — Returns the lowest index at which value should be inserted into array in order to maintain its sort order. +ok 528 — Returns the lowest index at which value should be inserted into array in order to maintain its sort order. + +# PASS test/uniqueSymmetricDifference/uniqueSymmetricDifference.test.js + +ok 529 — uniqueSymmetricDifference is a Function +ok 530 — Returns the symmetric difference between two arrays. +ok 531 — Does not return duplicates from one array # PASS test/isValidJSON/isValidJSON.test.js -ok 537 — isValidJSON is a Function -ok 538 — {"name":"Adam","age":20} is a valid JSON -ok 539 — {"name":"Adam",age:"20"} is not a valid JSON -ok 540 — null is a valid JSON +ok 532 — isValidJSON is a Function +ok 533 — {"name":"Adam","age":20} is a valid JSON +ok 534 — {"name":"Adam",age:"20"} is not a valid JSON +ok 535 — null is a valid JSON -# PASS test/uncurry/uncurry.test.js +# PASS test/matches/matches.test.js -ok 541 — uncurry is a Function -ok 542 — Works without a provided value for n -ok 543 — Works with n = 2 -ok 544 — Works with n = 3 +ok 536 — matches is a Function +ok 537 — Matches returns true for two similar objects +ok 538 — Matches returns false for two non-similar objects -# PASS test/symmetricDifferenceWith/symmetricDifferenceWith.test.js +# PASS test/collectInto/collectInto.test.js -ok 545 — symmetricDifferenceWith is a Function -ok 546 — Returns the symmetric difference between two arrays, using a provided function as a comparator - -# PASS test/pad/pad.test.js - -ok 547 — pad is a Function -ok 548 — cat is padded on both sides -ok 549 — length of string is 8 -ok 550 — pads 42 with "0" -ok 551 — does not truncates if string exceeds length +ok 539 — collectInto is a Function +ok 540 — Works with multiple promises # PASS test/functionName/functionName.test.js -ok 552 — functionName is a Function -ok 553 — Works for native functions -ok 554 — Works for functions -ok 555 — Works for arrow functions - -# PASS test/groupBy/groupBy.test.js - -ok 556 — groupBy is a Function -ok 557 — Groups the elements of an array based on the given function -ok 558 — Groups the elements of an array based on the given function +ok 541 — functionName is a Function +ok 542 — Works for native functions +ok 543 — Works for functions +ok 544 — Works for arrow functions # PASS test/lowercaseKeys/lowercaseKeys.test.js -ok 559 — lowercaseKeys is a Function -ok 560 — Lowercases object keys -ok 561 — Does not mutate original object +ok 545 — lowercaseKeys is a Function +ok 546 — Lowercases object keys +ok 547 — Does not mutate original object + +# PASS test/symmetricDifferenceWith/symmetricDifferenceWith.test.js + +ok 548 — symmetricDifferenceWith is a Function +ok 549 — Returns the symmetric difference between two arrays, using a provided function as a comparator + +# PASS test/uncurry/uncurry.test.js + +ok 550 — uncurry is a Function +ok 551 — Works without a provided value for n +ok 552 — Works with n = 2 +ok 553 — Works with n = 3 # PASS test/matchesWith/matchesWith.test.js -ok 562 — matchesWith is a Function -ok 563 — Returns true for two objects with similar values, based on the provided function +ok 554 — matchesWith is a Function +ok 555 — Returns true for two objects with similar values, based on the provided function + +# PASS test/pad/pad.test.js + +ok 556 — pad is a Function +ok 557 — cat is padded on both sides +ok 558 — length of string is 8 +ok 559 — pads 42 with "0" +ok 560 — does not truncates if string exceeds length # PASS test/collatz/collatz.test.js -ok 564 — collatz is a Function -ok 565 — When n is even, divide by 2 -ok 566 — When n is odd, times by 3 and add 1 -ok 567 — Eventually reaches 1 +ok 561 — collatz is a Function +ok 562 — When n is even, divide by 2 +ok 563 — When n is odd, times by 3 and add 1 +ok 564 — Eventually reaches 1 -# PASS test/reject/reject.test.js +# PASS test/groupBy/groupBy.test.js -ok 568 — reject is a Function -ok 569 — Works with numbers -ok 570 — Works with strings +ok 565 — groupBy is a Function +ok 566 — Groups the elements of an array based on the given function +ok 567 — Groups the elements of an array based on the given function # PASS test/UUIDGeneratorNode/UUIDGeneratorNode.test.js -ok 571 — UUIDGeneratorNode is a Function -ok 572 — Contains dashes in the proper places -ok 573 — Only contains hexadecimal digits +ok 568 — UUIDGeneratorNode is a Function +ok 569 — Contains dashes in the proper places +ok 570 — Only contains hexadecimal digits -# PASS test/sample/sample.test.js +# PASS test/reject/reject.test.js -ok 574 — sample is a Function -ok 575 — Returns a random element from the array -ok 576 — Works for single-element arrays -ok 577 — Returns undefined for empty array - -# PASS test/intersectionWith/intersectionWith.test.js - -ok 578 — intersectionWith is a Function -ok 579 — Returns a list of elements that exist in both arrays, using a provided comparator function +ok 571 — reject is a Function +ok 572 — Works with numbers +ok 573 — Works with strings # PASS test/symmetricDifference/symmetricDifference.test.js -ok 580 — symmetricDifference is a Function -ok 581 — Returns the symmetric difference between two arrays. -ok 582 — Returns duplicates from one array +ok 574 — symmetricDifference is a Function +ok 575 — Returns the symmetric difference between two arrays. +ok 576 — Returns duplicates from one array # PASS test/luhnCheck/luhnCheck.test.js -ok 583 — luhnCheck is a Function -ok 584 — validates identification number -ok 585 — validates identification number -ok 586 — validates identification number +ok 577 — luhnCheck is a Function +ok 578 — validates identification number +ok 579 — validates identification number +ok 580 — validates identification number + +# PASS test/sample/sample.test.js + +ok 581 — sample is a Function +ok 582 — Returns a random element from the array +ok 583 — Works for single-element arrays +ok 584 — Returns undefined for empty array # PASS test/nthArg/nthArg.test.js -ok 587 — nthArg is a Function -ok 588 — Returns the nth argument -ok 589 — Returns undefined if arguments too few -ok 590 — Works for negative values +ok 585 — nthArg is a Function +ok 586 — Returns the nth argument +ok 587 — Returns undefined if arguments too few +ok 588 — Works for negative values -# PASS test/flattenObject/flattenObject.test.js +# PASS test/intersectionWith/intersectionWith.test.js -ok 591 — flattenObject is a Function -ok 592 — Flattens an object with the paths for keys -ok 593 — Works with arrays - -# PASS test/renameKeys/renameKeys.test.js - -ok 594 — renameKeys is a Function -ok 595 — renameKeys is a Function - -# PASS test/drop/drop.test.js - -ok 596 — drop is a Function -ok 597 — Works without the last argument -ok 598 — Removes appropriate element count as specified -ok 599 — Empties array given a count greater than length +ok 589 — intersectionWith is a Function +ok 590 — Returns a list of elements that exist in both arrays, using a provided comparator function # PASS test/pipeAsyncFunctions/pipeAsyncFunctions.test.js -ok 600 — pipeAsyncFunctions is a Function -ok 601 — pipeAsyncFunctions result should be 15 +ok 591 — pipeAsyncFunctions is a Function +ok 592 — pipeAsyncFunctions result should be 15 -# PASS test/isLowerCase/isLowerCase.test.js +# PASS test/drop/drop.test.js -ok 602 — isLowerCase is a Function -ok 603 — passed string is a lowercase -ok 604 — passed string is a lowercase -ok 605 — passed value is not a lowercase +ok 593 — drop is a Function +ok 594 — Works without the last argument +ok 595 — Removes appropriate element count as specified +ok 596 — Empties array given a count greater than length -# PASS test/differenceBy/differenceBy.test.js +# PASS test/flattenObject/flattenObject.test.js -ok 606 — differenceBy is a Function -ok 607 — Works using a native function and numbers -ok 608 — Works with arrow function and objects - -# PASS test/isPromiseLike/isPromiseLike.test.js - -ok 609 — isPromiseLike is a Function -ok 610 — Returns true for a promise-like object -ok 611 — Returns false for an empty object - -# PASS test/averageBy/averageBy.test.js - -ok 612 — averageBy is a Function -ok 613 — Produces the right result with a function -ok 614 — Produces the right result with a property name +ok 597 — flattenObject is a Function +ok 598 — Flattens an object with the paths for keys +ok 599 — Works with arrays # PASS test/functions/functions.test.js -ok 615 — functions is a Function -ok 616 — Returns own methods -ok 617 — Returns own and inherited methods +ok 600 — functions is a Function +ok 601 — Returns own methods +ok 602 — Returns own and inherited methods -# PASS test/bindKey/bindKey.test.js +# PASS test/differenceBy/differenceBy.test.js -ok 618 — bindKey is a Function -ok 619 — Binds function to an object context +ok 603 — differenceBy is a Function +ok 604 — Works using a native function and numbers +ok 605 — Works with arrow function and objects + +# PASS test/renameKeys/renameKeys.test.js + +ok 606 — renameKeys is a Function +ok 607 — renameKeys is a Function # PASS test/memoize/memoize.test.js -ok 620 — memoize is a Function -ok 621 — Function works properly -ok 622 — Function works properly -ok 623 — Cache stores values +ok 608 — memoize is a Function +ok 609 — Function works properly +ok 610 — Function works properly +ok 611 — Cache stores values -# PASS test/symmetricDifferenceBy/symmetricDifferenceBy.test.js +# PASS test/isLowerCase/isLowerCase.test.js -ok 624 — symmetricDifferenceBy is a Function -ok 625 — Returns the symmetric difference between two arrays, after applying the provided function to each array element of both +ok 612 — isLowerCase is a Function +ok 613 — passed string is a lowercase +ok 614 — passed string is a lowercase +ok 615 — passed value is not a lowercase -# PASS test/promisify/promisify.test.js +# PASS test/isPromiseLike/isPromiseLike.test.js -ok 626 — promisify is a Function -ok 627 — Returns a promise -ok 628 — Runs the function provided +ok 616 — isPromiseLike is a Function +ok 617 — Returns true for a promise-like object +ok 618 — Returns false for an empty object -# PASS test/isArrayLike/isArrayLike.test.js +# PASS test/bindKey/bindKey.test.js -ok 629 — isArrayLike is a Function -ok 630 — Returns true for a string -ok 631 — Returns true for an array -ok 632 — Returns false for null - -# PASS test/findLastKey/findLastKey.test.js - -ok 633 — findLastKey is a Function -ok 634 — eturns the appropriate key +ok 619 — bindKey is a Function +ok 620 — Binds function to an object context # PASS test/elo/elo.test.js -ok 635 — elo is a Function -ok 636 — Standard 1v1s -ok 637 — Standard 1v1s -ok 638 — 4 player FFA, all same rank +ok 621 — elo is a Function +ok 622 — Standard 1v1s +ok 623 — Standard 1v1s +ok 624 — 4 player FFA, all same rank -# PASS test/arrayToCSV/arrayToCSV.test.js +# PASS test/averageBy/averageBy.test.js -ok 639 — arrayToCSV is a Function -ok 640 — arrayToCSV works with default delimiter -ok 641 — arrayToCSV works with custom delimiter +ok 625 — averageBy is a Function +ok 626 — Produces the right result with a function +ok 627 — Produces the right result with a property name -# PASS test/isUpperCase/isUpperCase.test.js +# PASS test/findLastKey/findLastKey.test.js -ok 642 — isUpperCase is a Function -ok 643 — ABC is all upper case -ok 644 — abc is not all upper case -ok 645 — A3@$ is all uppercase +ok 628 — findLastKey is a Function +ok 629 — eturns the appropriate key + +# PASS test/symmetricDifferenceBy/symmetricDifferenceBy.test.js + +ok 630 — symmetricDifferenceBy is a Function +ok 631 — Returns the symmetric difference between two arrays, after applying the provided function to each array element of both + +# PASS test/isArrayLike/isArrayLike.test.js + +ok 632 — isArrayLike is a Function +ok 633 — Returns true for a string +ok 634 — Returns true for an array +ok 635 — Returns false for null + +# PASS test/promisify/promisify.test.js + +ok 636 — promisify is a Function +ok 637 — Returns a promise +ok 638 — Runs the function provided # PASS test/truthCheckCollection/truthCheckCollection.test.js -ok 646 — truthCheckCollection is a Function -ok 647 — second argument is truthy on all elements of a collection +ok 639 — truthCheckCollection is a Function +ok 640 — second argument is truthy on all elements of a collection -# PASS test/minBy/minBy.test.js +# PASS test/arrayToCSV/arrayToCSV.test.js -ok 648 — minBy is a Function -ok 649 — Produces the right result with a function -ok 650 — Produces the right result with a property name +ok 641 — arrayToCSV is a Function +ok 642 — arrayToCSV works with default delimiter +ok 643 — arrayToCSV works with custom delimiter -# PASS test/maxBy/maxBy.test.js +# PASS test/isUpperCase/isUpperCase.test.js -ok 651 — maxBy is a Function -ok 652 — Produces the right result with a function -ok 653 — Produces the right result with a property name +ok 644 — isUpperCase is a Function +ok 645 — ABC is all upper case +ok 646 — abc is not all upper case +ok 647 — A3@$ is all uppercase # PASS test/pullAtValue/pullAtValue.test.js -ok 654 — pullAtValue is a Function -ok 655 — Pulls the specified values -ok 656 — Pulls the specified values +ok 648 — pullAtValue is a Function +ok 649 — Pulls the specified values +ok 650 — Pulls the specified values -# PASS test/unzipWith/unzipWith.test.js +# PASS test/minBy/minBy.test.js -ok 657 — unzipWith is a Function -ok 658 — unzipWith([[1, 10, 100], [2, 20, 200]], (...args) => args.reduce((acc, v) => acc + v, 0)) equals [3, 30, 300] +ok 651 — minBy is a Function +ok 652 — Produces the right result with a function +ok 653 — Produces the right result with a property name # PASS test/findKey/findKey.test.js -ok 659 — findKey is a Function -ok 660 — Returns the appropriate key +ok 654 — findKey is a Function +ok 655 — Returns the appropriate key -# PASS test/runPromisesInSeries/runPromisesInSeries.test.js +# PASS test/maxBy/maxBy.test.js -ok 661 — runPromisesInSeries is a Function -ok 662 — Runs promises in series - -# PASS test/reduceSuccessive/reduceSuccessive.test.js - -ok 663 — reduceSuccessive is a Function -ok 664 — Returns the array of successively reduced values - -# PASS test/isPlainObject/isPlainObject.test.js - -ok 665 — isPlainObject is a Function -ok 666 — Returns true for a plain object -ok 667 — Returns false for a Map (example of non-plain object) - -# PASS test/coalesceFactory/coalesceFactory.test.js - -ok 668 — coalesceFactory is a Function -ok 669 — Returns a customized coalesce function - -# PASS test/takeRight/takeRight.test.js - -ok 670 — takeRight is a Function -ok 671 — Returns an array with n elements removed from the end -ok 672 — Returns an array with n elements removed from the end +ok 656 — maxBy is a Function +ok 657 — Produces the right result with a function +ok 658 — Produces the right result with a property name # PASS test/pullAtIndex/pullAtIndex.test.js -ok 673 — pullAtIndex is a Function -ok 674 — Pulls the given values -ok 675 — Pulls the given values +ok 659 — pullAtIndex is a Function +ok 660 — Pulls the given values +ok 661 — Pulls the given values + +# PASS test/coalesceFactory/coalesceFactory.test.js + +ok 662 — coalesceFactory is a Function +ok 663 — Returns a customized coalesce function # PASS test/merge/merge.test.js -ok 676 — merge is a Function -ok 677 — Merges two objects +ok 664 — merge is a Function +ok 665 — Merges two objects + +# PASS test/unzipWith/unzipWith.test.js + +ok 666 — unzipWith is a Function +ok 667 — unzipWith([[1, 10, 100], [2, 20, 200]], (...args) => args.reduce((acc, v) => acc + v, 0)) equals [3, 30, 300] # PASS test/getURLParameters/getURLParameters.test.js -ok 678 — getURLParameters is a Function -ok 679 — Returns an object containing the parameters of the current URL +ok 668 — getURLParameters is a Function +ok 669 — Returns an object containing the parameters of the current URL # PASS test/transform/transform.test.js -ok 680 — transform is a Function -ok 681 — Transforms an object - -# PASS test/isNil/isNil.test.js - -ok 682 — isNil is a Function -ok 683 — Returns true for null -ok 684 — Returns true for undefined -ok 685 — Returns false for an empty string +ok 670 — transform is a Function +ok 671 — Transforms an object # PASS test/bind/bind.test.js -ok 686 — bind is a Function -ok 687 — Binds to an object context +ok 672 — bind is a Function +ok 673 — Binds to an object context + +# PASS test/takeRight/takeRight.test.js + +ok 674 — takeRight is a Function +ok 675 — Returns an array with n elements removed from the end +ok 676 — Returns an array with n elements removed from the end + +# PASS test/reduceSuccessive/reduceSuccessive.test.js + +ok 677 — reduceSuccessive is a Function +ok 678 — Returns the array of successively reduced values # PASS test/intersectionBy/intersectionBy.test.js -ok 688 — intersectionBy is a Function -ok 689 — Returns a list of elements that exist in both arrays, after applying the provided function to each array element of both - -# PASS test/partialRight/partialRight.test.js - -ok 690 — partialRight is a Function -ok 691 — Appends arguments - -# PASS test/extendHex/extendHex.test.js - -ok 692 — extendHex is a Function -ok 693 — Extends a 3-digit color code to a 6-digit color code -ok 694 — Extends a 3-digit color code to a 6-digit color code - -# PASS test/take/take.test.js - -ok 695 — take is a Function -ok 696 — Returns an array with n elements removed from the beginning. -ok 697 — Returns an array with n elements removed from the beginning. - -# PASS test/chainAsync/chainAsync.test.js - -ok 698 — chainAsync is a Function -ok 699 — Calls all functions in an array - -# PASS test/gcd/gcd.test.js - -ok 700 — gcd is a Function -ok 701 — Calculates the greatest common divisor between two or more numbers/arrays -ok 702 — Calculates the greatest common divisor between two or more numbers/arrays - -# PASS test/isTravisCI/isTravisCI.test.js - -ok 703 — isTravisCI is a Function -ok 704 — Running on Travis, correctly evaluates - -# PASS test/spreadOver/spreadOver.test.js - -ok 705 — spreadOver is a Function -ok 706 — Takes a variadic function and returns a closure that accepts an array of arguments to map to the inputs of the function. +ok 679 — intersectionBy is a Function +ok 680 — Returns a list of elements that exist in both arrays, after applying the provided function to each array element of both # PASS test/pipeFunctions/pipeFunctions.test.js -ok 707 — pipeFunctions is a Function -ok 708 — Performs left-to-right function composition - -# PASS test/decapitalize/decapitalize.test.js - -ok 709 — decapitalize is a Function -ok 710 — Works with default parameter -ok 711 — Works with second parameter set to true - -# PASS test/shallowClone/shallowClone.test.js - -ok 712 — shallowClone is a Function -ok 713 — Shallow cloning works -ok 714 — Does not clone deeply - -# PASS test/hashNode/hashNode.test.js - -ok 715 — hashNode is a Function -ok 716 — Produces the appropriate hash - -# PASS test/countBy/countBy.test.js - -ok 717 — countBy is a Function -ok 718 — Works for functions -ok 719 — Works for property names - -# PASS test/nthElement/nthElement.test.js - -ok 720 — nthElement is a Function -ok 721 — Returns the nth element of an array. -ok 722 — Returns the nth element of an array. - -# PASS test/cleanObj/cleanObj.test.js - -ok 723 — cleanObj is a Function -ok 724 — Removes any properties except the ones specified from a JSON object - -# PASS test/indexOfAll/indexOfAll.test.js - -ok 725 — indexOfAll is a Function -ok 726 — Returns all indices of val in an array -ok 727 — Returns all indices of val in an array - -# PASS test/minN/minN.test.js - -ok 728 — minN is a Function -ok 729 — Returns the n minimum elements from the provided array -ok 730 — Returns the n minimum elements from the provided array +ok 681 — pipeFunctions is a Function +ok 682 — Performs left-to-right function composition # PASS test/overArgs/overArgs.test.js -ok 731 — overArgs is a Function -ok 732 — Invokes the provided function with its arguments transformed +ok 683 — overArgs is a Function +ok 684 — Invokes the provided function with its arguments transformed -# PASS test/composeRight/composeRight.test.js +# PASS test/isPlainObject/isPlainObject.test.js -ok 733 — composeRight is a Function -ok 734 — Performs left-to-right function composition +ok 685 — isPlainObject is a Function +ok 686 — Returns true for a plain object +ok 687 — Returns false for a Map (example of non-plain object) -# PASS test/permutations/permutations.test.js +# PASS test/partialRight/partialRight.test.js -ok 735 — permutations is a Function -ok 736 — Generates all permutations of an array +ok 688 — partialRight is a Function +ok 689 — Appends arguments -# PASS test/splitLines/splitLines.test.js +# PASS test/extendHex/extendHex.test.js -ok 737 — splitLines is a Function -ok 738 — Splits a multiline string into an array of lines. +ok 690 — extendHex is a Function +ok 691 — Extends a 3-digit color code to a 6-digit color code +ok 692 — Extends a 3-digit color code to a 6-digit color code -# PASS test/initializeArrayWithValues/initializeArrayWithValues.test.js +# PASS test/decapitalize/decapitalize.test.js -ok 739 — initializeArrayWithValues is a Function -ok 740 — Initializes and fills an array with the specified values +ok 693 — decapitalize is a Function +ok 694 — Works with default parameter +ok 695 — Works with second parameter set to true + +# PASS test/spreadOver/spreadOver.test.js + +ok 696 — spreadOver is a Function +ok 697 — Takes a variadic function and returns a closure that accepts an array of arguments to map to the inputs of the function. # PASS test/getDaysDiffBetweenDates/getDaysDiffBetweenDates.test.js -ok 741 — getDaysDiffBetweenDates is a Function -ok 742 — Returns the difference in days between two dates +ok 698 — getDaysDiffBetweenDates is a Function +ok 699 — Returns the difference in days between two dates -# PASS test/maxN/maxN.test.js +# PASS test/isTravisCI/isTravisCI.test.js -ok 743 — maxN is a Function -ok 744 — Returns the n maximum elements from the provided array -ok 745 — Returns the n maximum elements from the provided array +ok 700 — isTravisCI is a Function +ok 701 — Running on Travis, correctly evaluates -# PASS test/flatten/flatten.test.js +# PASS test/hashNode/hashNode.test.js -ok 746 — flatten is a Function -ok 747 — Flattens an array -ok 748 — Flattens an array - -# PASS test/when/when.test.js - -ok 749 — when is a Function -ok 750 — Returns the proper result -ok 751 — Returns the proper result - -# PASS test/differenceWith/differenceWith.test.js - -ok 752 — differenceWith is a Function -ok 753 — Filters out all values from an array - -# PASS test/lcm/lcm.test.js - -ok 754 — lcm is a Function -ok 755 — Returns the least common multiple of two or more numbers. -ok 756 — Returns the least common multiple of two or more numbers. - -# PASS test/percentile/percentile.test.js - -ok 757 — percentile is a Function -ok 758 — Uses the percentile formula to calculate how many numbers in the given array are less or equal to the given value. +ok 702 — hashNode is a Function +ok 703 — Produces the appropriate hash # PASS test/compose/compose.test.js -ok 759 — compose is a Function -ok 760 — Performs right-to-left function composition +ok 704 — compose is a Function +ok 705 — Performs right-to-left function composition + +# PASS test/composeRight/composeRight.test.js + +ok 706 — composeRight is a Function +ok 707 — Performs left-to-right function composition + +# PASS test/runPromisesInSeries/runPromisesInSeries.test.js + +ok 708 — runPromisesInSeries is a Function +ok 709 — Runs promises in series + +# PASS test/gcd/gcd.test.js + +ok 710 — gcd is a Function +ok 711 — Calculates the greatest common divisor between two or more numbers/arrays +ok 712 — Calculates the greatest common divisor between two or more numbers/arrays + +# PASS test/chainAsync/chainAsync.test.js + +ok 713 — chainAsync is a Function +ok 714 — Calls all functions in an array + +# PASS test/nthElement/nthElement.test.js + +ok 715 — nthElement is a Function +ok 716 — Returns the nth element of an array. +ok 717 — Returns the nth element of an array. + +# PASS test/when/when.test.js + +ok 718 — when is a Function +ok 719 — Returns the proper result +ok 720 — Returns the proper result + +# PASS test/take/take.test.js + +ok 721 — take is a Function +ok 722 — Returns an array with n elements removed from the beginning. +ok 723 — Returns an array with n elements removed from the beginning. + +# PASS test/isNil/isNil.test.js + +ok 724 — isNil is a Function +ok 725 — Returns true for null +ok 726 — Returns true for undefined +ok 727 — Returns false for an empty string + +# PASS test/flatten/flatten.test.js + +ok 728 — flatten is a Function +ok 729 — Flattens an array +ok 730 — Flattens an array + +# PASS test/cleanObj/cleanObj.test.js + +ok 731 — cleanObj is a Function +ok 732 — Removes any properties except the ones specified from a JSON object + +# PASS test/countBy/countBy.test.js + +ok 733 — countBy is a Function +ok 734 — Works for functions +ok 735 — Works for property names + +# PASS test/maxN/maxN.test.js + +ok 736 — maxN is a Function +ok 737 — Returns the n maximum elements from the provided array +ok 738 — Returns the n maximum elements from the provided array + +# PASS test/shallowClone/shallowClone.test.js + +ok 739 — shallowClone is a Function +ok 740 — Shallow cloning works +ok 741 — Does not clone deeply + +# PASS test/permutations/permutations.test.js + +ok 742 — permutations is a Function +ok 743 — Generates all permutations of an array + +# PASS test/indexOfAll/indexOfAll.test.js + +ok 744 — indexOfAll is a Function +ok 745 — Returns all indices of val in an array +ok 746 — Returns all indices of val in an array # PASS test/sortedLastIndexBy/sortedLastIndexBy.test.js -ok 761 — sortedLastIndexBy is a Function -ok 762 — Returns the highest index to insert the element without messing up the list order +ok 747 — sortedLastIndexBy is a Function +ok 748 — Returns the highest index to insert the element without messing up the list order -# PASS test/mapValues/mapValues.test.js +# PASS test/initializeArrayWithValues/initializeArrayWithValues.test.js -ok 763 — mapValues is a Function -ok 764 — Maps values +ok 749 — initializeArrayWithValues is a Function +ok 750 — Initializes and fills an array with the specified values -# PASS test/partial/partial.test.js +# PASS test/minN/minN.test.js -ok 765 — partial is a Function -ok 766 — Prepends arguments +ok 751 — minN is a Function +ok 752 — Returns the n minimum elements from the provided array +ok 753 — Returns the n minimum elements from the provided array -# PASS test/palindrome/palindrome.test.js +# PASS test/splitLines/splitLines.test.js -ok 767 — palindrome is a Function -ok 768 — Given string is a palindrome -ok 769 — Given string is not a palindrome +ok 754 — splitLines is a Function +ok 755 — Splits a multiline string into an array of lines. -# PASS test/unionWith/unionWith.test.js +# PASS test/differenceWith/differenceWith.test.js -ok 770 — unionWith is a Function -ok 771 — Produces the appropriate results +ok 756 — differenceWith is a Function +ok 757 — Filters out all values from an array -# PASS test/sortedIndexBy/sortedIndexBy.test.js +# PASS test/percentile/percentile.test.js -ok 772 — sortedIndexBy is a Function -ok 773 — Returns the lowest index to insert the element without messing up the list order +ok 758 — percentile is a Function +ok 759 — Uses the percentile formula to calculate how many numbers in the given array are less or equal to the given value. -# PASS test/degreesToRads/degreesToRads.test.js +# PASS test/lcm/lcm.test.js -ok 774 — degreesToRads is a Function -ok 775 — Returns the appropriate value - -# PASS test/dropRightWhile/dropRightWhile.test.js - -ok 776 — dropRightWhile is a Function -ok 777 — Removes elements from the end of an array until the passed function returns true. - -# PASS test/bifurcateBy/bifurcateBy.test.js - -ok 778 — bifurcateBy is a Function -ok 779 — Splits the collection into two groups - -# PASS test/pickBy/pickBy.test.js - -ok 780 — pickBy is a Function -ok 781 — Creates an object composed of the properties the given function returns truthy for. +ok 760 — lcm is a Function +ok 761 — Returns the least common multiple of two or more numbers. +ok 762 — Returns the least common multiple of two or more numbers. # PASS test/bindAll/bindAll.test.js -ok 782 — bindAll is a Function -ok 783 — Binds to an object context - -# PASS test/size/size.test.js - -ok 784 — size is a Function -ok 785 — Get size of arrays, objects or strings. -ok 786 — Get size of arrays, objects or strings. - -# PASS test/rearg/rearg.test.js - -ok 787 — rearg is a Function -ok 788 — Reorders arguments in invoked function - -# PASS test/forOwnRight/forOwnRight.test.js - -ok 789 — forOwnRight is a Function -ok 790 — Iterates over an element's key-value pairs in reverse - -# PASS test/median/median.test.js - -ok 791 — median is a Function -ok 792 — Returns the median of an array of numbers -ok 793 — Returns the median of an array of numbers - -# PASS test/flip/flip.test.js - -ok 794 — flip is a Function -ok 795 — Flips argument order - -# PASS test/unescapeHTML/unescapeHTML.test.js - -ok 796 — unescapeHTML is a Function -ok 797 — Unescapes escaped HTML characters. - -# PASS test/sortedLastIndex/sortedLastIndex.test.js - -ok 798 — sortedLastIndex is a Function -ok 799 — Returns the highest index to insert the element without messing up the list order - -# PASS test/attempt/attempt.test.js - -ok 800 — attempt is a Function -ok 801 — Returns a value -ok 802 — Returns an error - -# PASS test/bifurcate/bifurcate.test.js - -ok 803 — bifurcate is a Function -ok 804 — Splits the collection into two groups - -# PASS test/isFunction/isFunction.test.js - -ok 805 — isFunction is a Function -ok 806 — passed value is a function -ok 807 — passed value is not a function - -# PASS test/isBoolean/isBoolean.test.js - -ok 808 — isBoolean is a Function -ok 809 — passed value is not a boolean -ok 810 — passed value is not a boolean - -# PASS test/compact/compact.test.js - -ok 811 — compact is a Function -ok 812 — Removes falsey values from an array - -# PASS test/sortCharactersInString/sortCharactersInString.test.js - -ok 813 — sortCharactersInString is a Function -ok 814 — Alphabetically sorts the characters in a string. - -# PASS test/omitBy/omitBy.test.js - -ok 815 — omitBy is a Function -ok 816 — Creates an object composed of the properties the given function returns falsey for - -# PASS test/initialize2DArray/initialize2DArray.test.js - -ok 817 — initialize2DArray is a Function -ok 818 — Initializes a 2D array of given width and height and value - -# PASS test/isNumber/isNumber.test.js - -ok 819 — isNumber is a Function -ok 820 — passed argument is a number -ok 821 — passed argument is not a number - -# PASS test/unflattenObject/unflattenObject.test.js - -ok 822 — unflattenObject is a Function -ok 823 — Unflattens an object with the paths for keys - -# PASS test/escapeHTML/escapeHTML.test.js - -ok 824 — escapeHTML is a Function -ok 825 — Escapes a string for use in HTML +ok 763 — bindAll is a Function +ok 764 — Binds to an object context # PASS test/get/get.test.js -ok 826 — get is a Function -ok 827 — Retrieve a property indicated by the selector from an object. +ok 765 — get is a Function +ok 766 — Retrieve a property indicated by the selector from an object. -# PASS test/stableSort/stableSort.test.js +# PASS test/bifurcate/bifurcate.test.js -ok 828 — stableSort is a Function -ok 829 — Array is properly sorted +ok 767 — bifurcate is a Function +ok 768 — Splits the collection into two groups + +# PASS test/partial/partial.test.js + +ok 769 — partial is a Function +ok 770 — Prepends arguments + +# PASS test/sortedIndexBy/sortedIndexBy.test.js + +ok 771 — sortedIndexBy is a Function +ok 772 — Returns the lowest index to insert the element without messing up the list order + +# PASS test/attempt/attempt.test.js + +ok 773 — attempt is a Function +ok 774 — Returns a value +ok 775 — Returns an error + +# PASS test/mapValues/mapValues.test.js + +ok 776 — mapValues is a Function +ok 777 — Maps values + +# PASS test/initialize2DArray/initialize2DArray.test.js + +ok 778 — initialize2DArray is a Function +ok 779 — Initializes a 2D array of given width and height and value + +# PASS test/unionWith/unionWith.test.js + +ok 780 — unionWith is a Function +ok 781 — Produces the appropriate results + +# PASS test/forOwnRight/forOwnRight.test.js + +ok 782 — forOwnRight is a Function +ok 783 — Iterates over an element's key-value pairs in reverse + +# PASS test/bifurcateBy/bifurcateBy.test.js + +ok 784 — bifurcateBy is a Function +ok 785 — Splits the collection into two groups + +# PASS test/compact/compact.test.js + +ok 786 — compact is a Function +ok 787 — Removes falsey values from an array + +# PASS test/unescapeHTML/unescapeHTML.test.js + +ok 788 — unescapeHTML is a Function +ok 789 — Unescapes escaped HTML characters. + +# PASS test/rearg/rearg.test.js + +ok 790 — rearg is a Function +ok 791 — Reorders arguments in invoked function + +# PASS test/degreesToRads/degreesToRads.test.js + +ok 792 — degreesToRads is a Function +ok 793 — Returns the appropriate value + +# PASS test/size/size.test.js + +ok 794 — size is a Function +ok 795 — Get size of arrays, objects or strings. +ok 796 — Get size of arrays, objects or strings. + +# PASS test/median/median.test.js + +ok 797 — median is a Function +ok 798 — Returns the median of an array of numbers +ok 799 — Returns the median of an array of numbers + +# PASS test/flip/flip.test.js + +ok 800 — flip is a Function +ok 801 — Flips argument order + +# PASS test/dropRightWhile/dropRightWhile.test.js + +ok 802 — dropRightWhile is a Function +ok 803 — Removes elements from the end of an array until the passed function returns true. + +# PASS test/isFunction/isFunction.test.js + +ok 804 — isFunction is a Function +ok 805 — passed value is a function +ok 806 — passed value is not a function + +# PASS test/isBoolean/isBoolean.test.js + +ok 807 — isBoolean is a Function +ok 808 — passed value is not a boolean +ok 809 — passed value is not a boolean + +# PASS test/palindrome/palindrome.test.js + +ok 810 — palindrome is a Function +ok 811 — Given string is a palindrome +ok 812 — Given string is not a palindrome + +# PASS test/omitBy/omitBy.test.js + +ok 813 — omitBy is a Function +ok 814 — Creates an object composed of the properties the given function returns falsey for + +# PASS test/sortCharactersInString/sortCharactersInString.test.js + +ok 815 — sortCharactersInString is a Function +ok 816 — Alphabetically sorts the characters in a string. # PASS test/pullBy/pullBy.test.js -ok 830 — pullBy is a Function -ok 831 — Pulls the specified values +ok 817 — pullBy is a Function +ok 818 — Pulls the specified values -# PASS test/forEachRight/forEachRight.test.js +# PASS test/pickBy/pickBy.test.js -ok 832 — forEachRight is a Function -ok 833 — Iterates over the array in reverse +ok 819 — pickBy is a Function +ok 820 — Creates an object composed of the properties the given function returns truthy for. -# PASS test/toDecimalMark/toDecimalMark.test.js +# PASS test/unflattenObject/unflattenObject.test.js -ok 834 — toDecimalMark is a Function -ok 835 — convert a float-point arithmetic to the Decimal mark form +ok 821 — unflattenObject is a Function +ok 822 — Unflattens an object with the paths for keys -# PASS test/objectToPairs/objectToPairs.test.js +# PASS test/sortedLastIndex/sortedLastIndex.test.js -ok 836 — objectToPairs is a Function -ok 837 — Creates an array of key-value pair arrays from an object. +ok 823 — sortedLastIndex is a Function +ok 824 — Returns the highest index to insert the element without messing up the list order -# PASS test/unfold/unfold.test.js +# PASS test/isNumber/isNumber.test.js -ok 838 — unfold is a Function -ok 839 — Works with a given function, producing an array +ok 825 — isNumber is a Function +ok 826 — passed argument is a number +ok 827 — passed argument is not a number -# PASS test/findLastIndex/findLastIndex.test.js +# PASS test/escapeHTML/escapeHTML.test.js -ok 840 — findLastIndex is a Function -ok 841 — Finds last index for which the given function returns true +ok 828 — escapeHTML is a Function +ok 829 — Escapes a string for use in HTML -# PASS test/stripHTMLTags/stripHTMLTags.test.js +# PASS test/stableSort/stableSort.test.js -ok 842 — stripHTMLTags is a Function -ok 843 — Removes HTML tags - -# PASS test/objectFromPairs/objectFromPairs.test.js - -ok 844 — objectFromPairs is a Function -ok 845 — Creates an object from the given key-value pairs. - -# PASS test/ary/ary.test.js - -ok 846 — ary is a Function -ok 847 — Discards arguments with index >=n - -# PASS test/isArray/isArray.test.js - -ok 848 — isArray is a Function -ok 849 — passed value is an array -ok 850 — passed value is not an array +ok 830 — stableSort is a Function +ok 831 — Array is properly sorted # PASS test/xProd/xProd.test.js -ok 851 — xProd is a Function -ok 852 — xProd([1, 2], ['a', 'b']) returns [[1, 'a'], [1, 'b'], [2, 'a'], [2, 'b']] +ok 832 — xProd is a Function +ok 833 — xProd([1, 2], ['a', 'b']) returns [[1, 'a'], [1, 'b'], [2, 'a'], [2, 'b']] -# PASS test/filterNonUnique/filterNonUnique.test.js +# PASS test/forEachRight/forEachRight.test.js -ok 853 — filterNonUnique is a Function -ok 854 — Filters out the non-unique values in an array +ok 834 — forEachRight is a Function +ok 835 — Iterates over the array in reverse -# PASS test/forOwn/forOwn.test.js +# PASS test/objectFromPairs/objectFromPairs.test.js -ok 855 — forOwn is a Function -ok 856 — Iterates over an element's key-value pairs +ok 836 — objectFromPairs is a Function +ok 837 — Creates an object from the given key-value pairs. -# PASS test/removeNonASCII/removeNonASCII.test.js +# PASS test/isArray/isArray.test.js -ok 857 — removeNonASCII is a Function -ok 858 — Removes non-ASCII characters +ok 838 — isArray is a Function +ok 839 — passed value is an array +ok 840 — passed value is not an array -# PASS test/defaults/defaults.test.js +# PASS test/stripHTMLTags/stripHTMLTags.test.js -ok 859 — defaults is a Function -ok 860 — Assigns default values for undefined properties +ok 841 — stripHTMLTags is a Function +ok 842 — Removes HTML tags -# PASS test/dropWhile/dropWhile.test.js +# PASS test/objectToPairs/objectToPairs.test.js -ok 861 — dropWhile is a Function -ok 862 — Removes elements in an array until the passed function returns true. +ok 843 — objectToPairs is a Function +ok 844 — Creates an array of key-value pair arrays from an object. + +# PASS test/unfold/unfold.test.js + +ok 845 — unfold is a Function +ok 846 — Works with a given function, producing an array # PASS test/isNull/isNull.test.js -ok 863 — isNull is a Function -ok 864 — passed argument is a null -ok 865 — passed argument is a null +ok 847 — isNull is a Function +ok 848 — passed argument is a null +ok 849 — passed argument is a null + +# PASS test/toDecimalMark/toDecimalMark.test.js + +ok 850 — toDecimalMark is a Function +ok 851 — convert a float-point arithmetic to the Decimal mark form # PASS test/pick/pick.test.js -ok 866 — pick is a Function -ok 867 — Picks the key-value pairs corresponding to the given keys from an object. - -# PASS test/countOccurrences/countOccurrences.test.js - -ok 868 — countOccurrences is a Function -ok 869 — Counts the occurrences of a value in an array - -# PASS test/curry/curry.test.js - -ok 870 — curry is a Function -ok 871 — curries a Math.pow -ok 872 — curries a Math.min - -# PASS test/takeRightWhile/takeRightWhile.test.js - -ok 873 — takeRightWhile is a Function -ok 874 — Removes elements until the function returns true +ok 852 — pick is a Function +ok 853 — Picks the key-value pairs corresponding to the given keys from an object. # PASS test/remove/remove.test.js -ok 875 — remove is a Function -ok 876 — Removes elements from an array for which the given function returns false +ok 854 — remove is a Function +ok 855 — Removes elements from an array for which the given function returns false -# PASS test/clampNumber/clampNumber.test.js +# PASS test/countOccurrences/countOccurrences.test.js -ok 877 — clampNumber is a Function -ok 878 — Clamps num within the inclusive range specified by the boundary values a and b +ok 856 — countOccurrences is a Function +ok 857 — Counts the occurrences of a value in an array -# PASS test/atob/atob.test.js +# PASS test/findLastIndex/findLastIndex.test.js -ok 879 — atob is a Function -ok 880 — atob("Zm9vYmFy") equals "foobar" -ok 881 — atob("Z") returns "" +ok 858 — findLastIndex is a Function +ok 859 — Finds last index for which the given function returns true -# PASS test/delay/delay.test.js +# PASS test/curry/curry.test.js -ok 882 — delay is a Function -ok 883 — Works as expecting, passing arguments properly +ok 860 — curry is a Function +ok 861 — curries a Math.pow +ok 862 — curries a Math.min -# PASS test/parseCookie/parseCookie.test.js +# PASS test/defaults/defaults.test.js -ok 884 — parseCookie is a Function -ok 885 — Parses the cookie +ok 863 — defaults is a Function +ok 864 — Assigns default values for undefined properties -# PASS test/cloneRegExp/cloneRegExp.test.js +# PASS test/forOwn/forOwn.test.js -ok 886 — cloneRegExp is a Function -ok 887 — Clones regular expressions properly - -# PASS test/pull/pull.test.js - -ok 888 — pull is a Function -ok 889 — Pulls the specified values - -# PASS test/findLast/findLast.test.js - -ok 890 — findLast is a Function -ok 891 — Finds last element for which the given function returns true - -# PASS test/intersection/intersection.test.js - -ok 892 — intersection is a Function -ok 893 — Returns a list of elements that exist in both arrays +ok 865 — forOwn is a Function +ok 866 — Iterates over an element's key-value pairs # PASS test/truncateString/truncateString.test.js -ok 894 — truncateString is a Function -ok 895 — Truncates a "boomerang" up to a specified length. +ok 867 — truncateString is a Function +ok 868 — Truncates a "boomerang" up to a specified length. -# PASS test/similarity/similarity.test.js +# PASS test/removeNonASCII/removeNonASCII.test.js -ok 896 — similarity is a Function -ok 897 — Returns an array of elements that appear in both arrays. +ok 869 — removeNonASCII is a Function +ok 870 — Removes non-ASCII characters + +# PASS test/dropWhile/dropWhile.test.js + +ok 871 — dropWhile is a Function +ok 872 — Removes elements in an array until the passed function returns true. + +# PASS test/ary/ary.test.js + +ok 873 — ary is a Function +ok 874 — Discards arguments with index >=n + +# PASS test/delay/delay.test.js + +ok 875 — delay is a Function +ok 876 — Works as expecting, passing arguments properly + +# PASS test/filterNonUnique/filterNonUnique.test.js + +ok 877 — filterNonUnique is a Function +ok 878 — Filters out the non-unique values in an array + +# PASS test/clampNumber/clampNumber.test.js + +ok 879 — clampNumber is a Function +ok 880 — Clamps num within the inclusive range specified by the boundary values a and b + +# PASS test/parseCookie/parseCookie.test.js + +ok 881 — parseCookie is a Function +ok 882 — Parses the cookie + +# PASS test/takeRightWhile/takeRightWhile.test.js + +ok 883 — takeRightWhile is a Function +ok 884 — Removes elements until the function returns true + +# PASS test/intersection/intersection.test.js + +ok 885 — intersection is a Function +ok 886 — Returns a list of elements that exist in both arrays + +# PASS test/atob/atob.test.js + +ok 887 — atob is a Function +ok 888 — atob("Zm9vYmFy") equals "foobar" +ok 889 — atob("Z") returns "" # PASS test/omit/omit.test.js -ok 898 — omit is a Function -ok 899 — Omits the key-value pairs corresponding to the given keys from an object +ok 890 — omit is a Function +ok 891 — Omits the key-value pairs corresponding to the given keys from an object + +# PASS test/similarity/similarity.test.js + +ok 892 — similarity is a Function +ok 893 — Returns an array of elements that appear in both arrays. # PASS test/over/over.test.js -ok 900 — over is a Function -ok 901 — Applies given functions over multiple arguments +ok 894 — over is a Function +ok 895 — Applies given functions over multiple arguments -# PASS test/hammingDistance/hammingDistance.test.js +# PASS test/pull/pull.test.js -ok 902 — hammingDistance is a Function -ok 903 — retuns hamming disance between 2 values +ok 896 — pull is a Function +ok 897 — Pulls the specified values -# PASS test/escapeRegExp/escapeRegExp.test.js +# PASS test/findLast/findLast.test.js -ok 904 — escapeRegExp is a Function -ok 905 — Escapes a string to use in a regular expression - -# PASS test/initial/initial.test.js - -ok 906 — initial is a Function -ok 907 — Returns all the elements of an array except the last one - -# PASS test/deepFlatten/deepFlatten.test.js - -ok 908 — deepFlatten is a Function -ok 909 — Deep flattens an array - -# PASS test/distance/distance.test.js - -ok 910 — distance is a Function -ok 911 — Calculates the distance between two points - -# PASS test/coalesce/coalesce.test.js - -ok 912 — coalesce is a Function -ok 913 — Returns the first non-null/undefined argument - -# PASS test/RGBToHex/RGBToHex.test.js - -ok 914 — RGBToHex is a Function -ok 915 — Converts the values of RGB components to a color code. - -# PASS test/difference/difference.test.js - -ok 916 — difference is a Function -ok 917 — Returns the difference between two arrays - -# PASS test/powerset/powerset.test.js - -ok 918 — powerset is a Function -ok 919 — Returns the powerset of a given array of numbers. - -# PASS test/times/times.test.js - -ok 920 — times is a Function -ok 921 — Runs a function the specified amount of times +ok 898 — findLast is a Function +ok 899 — Finds last element for which the given function returns true # PASS test/isEven/isEven.test.js -ok 922 — isEven is a Function -ok 923 — 4 is even number -ok 924 — 5 is not an even number +ok 900 — isEven is a Function +ok 901 — 4 is even number +ok 902 — 5 is not an even number + +# PASS test/escapeRegExp/escapeRegExp.test.js + +ok 903 — escapeRegExp is a Function +ok 904 — Escapes a string to use in a regular expression + +# PASS test/coalesce/coalesce.test.js + +ok 905 — coalesce is a Function +ok 906 — Returns the first non-null/undefined argument # PASS test/serializeCookie/serializeCookie.test.js -ok 925 — serializeCookie is a Function -ok 926 — Serializes the cookie +ok 907 — serializeCookie is a Function +ok 908 — Serializes the cookie -# PASS test/fibonacci/fibonacci.test.js +# PASS test/hammingDistance/hammingDistance.test.js -ok 927 — fibonacci is a Function -ok 928 — Generates an array, containing the Fibonacci sequence +ok 909 — hammingDistance is a Function +ok 910 — retuns hamming disance between 2 values + +# PASS test/times/times.test.js + +ok 911 — times is a Function +ok 912 — Runs a function the specified amount of times + +# PASS test/cloneRegExp/cloneRegExp.test.js + +ok 913 — cloneRegExp is a Function +ok 914 — Clones regular expressions properly + +# PASS test/distance/distance.test.js + +ok 915 — distance is a Function +ok 916 — Calculates the distance between two points # PASS test/takeWhile/takeWhile.test.js -ok 929 — takeWhile is a Function -ok 930 — Removes elements until the function returns true - -# PASS test/primes/primes.test.js - -ok 931 — primes is a Function -ok 932 — Generates primes up to a given number, using the Sieve of Eratosthenes. - -# PASS test/negate/negate.test.js - -ok 933 — negate is a Function -ok 934 — Negates a predicate function - -# PASS test/tail/tail.test.js - -ok 935 — tail is a Function -ok 936 — Returns tail -ok 937 — Returns tail +ok 917 — takeWhile is a Function +ok 918 — Removes elements until the function returns true # PASS test/everyNth/everyNth.test.js -ok 938 — everyNth is a Function -ok 939 — Returns every nth element in an array +ok 919 — everyNth is a Function +ok 920 — Returns every nth element in an array -# PASS test/sleep/sleep.test.js +# PASS test/primes/primes.test.js -ok 940 — sleep is a Function -ok 941 — Works as expected +ok 921 — primes is a Function +ok 922 — Generates primes up to a given number, using the Sieve of Eratosthenes. -# PASS test/unionBy/unionBy.test.js +# PASS test/powerset/powerset.test.js -ok 942 — unionBy is a Function -ok 943 — Produces the appropriate results +ok 923 — powerset is a Function +ok 924 — Returns the powerset of a given array of numbers. -# PASS test/isUndefined/isUndefined.test.js +# PASS test/negate/negate.test.js -ok 944 — isUndefined is a Function -ok 945 — Returns true for undefined +ok 925 — negate is a Function +ok 926 — Negates a predicate function -# PASS test/reverseString/reverseString.test.js +# PASS test/difference/difference.test.js -ok 946 — reverseString is a Function -ok 947 — Reverses a string. +ok 927 — difference is a Function +ok 928 — Returns the difference between two arrays + +# PASS test/fibonacci/fibonacci.test.js + +ok 929 — fibonacci is a Function +ok 930 — Generates an array, containing the Fibonacci sequence + +# PASS test/RGBToHex/RGBToHex.test.js + +ok 931 — RGBToHex is a Function +ok 932 — Converts the values of RGB components to a color code. # PASS test/radsToDegrees/radsToDegrees.test.js -ok 948 — radsToDegrees is a Function -ok 949 — Returns the appropriate value +ok 933 — radsToDegrees is a Function +ok 934 — Returns the appropriate value -# PASS test/isSymbol/isSymbol.test.js +# PASS test/unionBy/unionBy.test.js -ok 950 — isSymbol is a Function -ok 951 — Checks if the given argument is a symbol +ok 935 — unionBy is a Function +ok 936 — Produces the appropriate results -# PASS test/getType/getType.test.js +# PASS test/deepFlatten/deepFlatten.test.js -ok 952 — getType is a Function -ok 953 — Returns the native type of a value +ok 937 — deepFlatten is a Function +ok 938 — Deep flattens an array -# PASS test/digitize/digitize.test.js +# PASS test/tail/tail.test.js -ok 954 — digitize is a Function -ok 955 — Converts a number to an array of digits - -# PASS test/call/call.test.js - -ok 956 — call is a Function -ok 957 — Calls function on given object +ok 939 — tail is a Function +ok 940 — Returns tail +ok 941 — Returns tail # PASS test/unary/unary.test.js -ok 958 — unary is a Function -ok 959 — Discards arguments after the first one +ok 942 — unary is a Function +ok 943 — Discards arguments after the first one + +# PASS test/initial/initial.test.js + +ok 944 — initial is a Function +ok 945 — Returns all the elements of an array except the last one # PASS test/mapKeys/mapKeys.test.js -ok 960 — mapKeys is a Function -ok 961 — Maps keys +ok 946 — mapKeys is a Function +ok 947 — Maps keys + +# PASS test/reverseString/reverseString.test.js + +ok 948 — reverseString is a Function +ok 949 — Reverses a string. + +# PASS test/sleep/sleep.test.js + +ok 950 — sleep is a Function +ok 951 — Works as expected # PASS test/isDivisible/isDivisible.test.js -ok 962 — isDivisible is a Function -ok 963 — The number 6 is divisible by 3 +ok 952 — isDivisible is a Function +ok 953 — The number 6 is divisible by 3 + +# PASS test/isSymbol/isSymbol.test.js + +ok 954 — isSymbol is a Function +ok 955 — Checks if the given argument is a symbol + +# PASS test/isUndefined/isUndefined.test.js + +ok 956 — isUndefined is a Function +ok 957 — Returns true for undefined + +# PASS test/digitize/digitize.test.js + +ok 958 — digitize is a Function +ok 959 — Converts a number to an array of digits + +# PASS test/getType/getType.test.js + +ok 960 — getType is a Function +ok 961 — Returns the native type of a value + +# PASS test/call/call.test.js + +ok 962 — call is a Function +ok 963 — Calls function on given object # PASS test/debounce/debounce.test.js ok 964 — debounce is a Function ok 965 — Works as expected -# PASS test/sum/sum.test.js +# PASS test/sdbm/sdbm.test.js -ok 966 — sum is a Function -ok 967 — Returns the sum of two or more numbers/arrays. - -# PASS test/isBrowserTabFocused/isBrowserTabFocused.test.js - -ok 968 — isBrowserTabFocused is a Function - -# PASS test/getColonTimeFromDate/getColonTimeFromDate.test.js - -ok 969 — getColonTimeFromDate is a Function - -# PASS test/initializeArrayWithRangeRight/initializeArrayWithRangeRight.test.js - -ok 970 — initializeArrayWithRangeRight is a Function - -# PASS test/getMeridiemSuffixOfInteger/getMeridiemSuffixOfInteger.test.js - -ok 971 — getMeridiemSuffixOfInteger is a Function +ok 966 — sdbm is a Function +ok 967 — Hashes the input string into a whole number. # PASS test/fibonacciCountUntilNum/fibonacciCountUntilNum.test.js -ok 972 — fibonacciCountUntilNum is a Function +ok 968 — fibonacciCountUntilNum is a Function -# PASS test/sdbm/sdbm.test.js +# PASS test/initializeArrayWithRangeRight/initializeArrayWithRangeRight.test.js -ok 973 — sdbm is a Function -ok 974 — Hashes the input string into a whole number. +ok 969 — initializeArrayWithRangeRight is a Function + +# PASS test/getMeridiemSuffixOfInteger/getMeridiemSuffixOfInteger.test.js + +ok 970 — getMeridiemSuffixOfInteger is a Function # PASS test/btoa/btoa.test.js -ok 975 — btoa is a Function -ok 976 — btoa("foobar") equals "Zm9vYmFy" - -# PASS test/recordAnimationFrames/recordAnimationFrames.test.js - -ok 977 — recordAnimationFrames is a Function +ok 971 — btoa is a Function +ok 972 — btoa("foobar") equals "Zm9vYmFy" # PASS test/isPrime/isPrime.test.js -ok 978 — isPrime is a Function -ok 979 — passed number is a prime +ok 973 — isPrime is a Function +ok 974 — passed number is a prime -# PASS test/elementIsVisibleInViewport/elementIsVisibleInViewport.test.js +# PASS test/getColonTimeFromDate/getColonTimeFromDate.test.js -ok 980 — elementIsVisibleInViewport is a Function +ok 975 — getColonTimeFromDate is a Function -# PASS test/UUIDGeneratorBrowser/UUIDGeneratorBrowser.test.js +# PASS test/sum/sum.test.js -ok 981 — UUIDGeneratorBrowser is a Function +ok 976 — sum is a Function +ok 977 — Returns the sum of two or more numbers/arrays. -# PASS test/fibonacciUntilNum/fibonacciUntilNum.test.js +# PASS test/isBrowserTabFocused/isBrowserTabFocused.test.js -ok 982 — fibonacciUntilNum is a Function +ok 978 — isBrowserTabFocused is a Function + +# PASS test/recordAnimationFrames/recordAnimationFrames.test.js + +ok 979 — recordAnimationFrames is a Function # PASS test/getScrollPosition/getScrollPosition.test.js -ok 983 — getScrollPosition is a Function +ok 980 — getScrollPosition is a Function + +# PASS test/elementIsVisibleInViewport/elementIsVisibleInViewport.test.js + +ok 981 — elementIsVisibleInViewport is a Function + +# PASS test/levenshteinDistance/levenshteinDistance.test.js + +ok 982 — levenshteinDistance is a Function + +# PASS test/observeMutations/observeMutations.test.js + +ok 983 — observeMutations is a Function # PASS test/initializeNDArray/initializeNDArray.test.js ok 984 — initializeNDArray is a Function -# PASS test/levenshteinDistance/levenshteinDistance.test.js +# PASS test/UUIDGeneratorBrowser/UUIDGeneratorBrowser.test.js -ok 985 — levenshteinDistance is a Function +ok 985 — UUIDGeneratorBrowser is a Function # PASS test/isArmstrongNumber/isArmstrongNumber.test.js ok 986 — isArmstrongNumber is a Function -# PASS test/onUserInputChange/onUserInputChange.test.js +# PASS test/fibonacciUntilNum/fibonacciUntilNum.test.js -ok 987 — onUserInputChange is a Function +ok 987 — fibonacciUntilNum is a Function # PASS test/detectDeviceType/detectDeviceType.test.js ok 988 — detectDeviceType is a Function -# PASS test/speechSynthesis/speechSynthesis.test.js +# PASS test/arrayToHtmlList/arrayToHtmlList.test.js -ok 989 — speechSynthesis is a Function +ok 989 — arrayToHtmlList is a Function + +# PASS test/onUserInputChange/onUserInputChange.test.js + +ok 990 — onUserInputChange is a Function # PASS test/elementContains/elementContains.test.js -ok 990 — elementContains is a Function +ok 991 — elementContains is a Function -# PASS test/observeMutations/observeMutations.test.js +# PASS test/speechSynthesis/speechSynthesis.test.js -ok 991 — observeMutations is a Function +ok 992 — speechSynthesis is a Function # PASS test/nodeListToArray/nodeListToArray.test.js -ok 992 — nodeListToArray is a Function - -# PASS test/readFileLines/readFileLines.test.js - -ok 993 — readFileLines is a Function - -# PASS test/arrayToHtmlList/arrayToHtmlList.test.js - -ok 994 — arrayToHtmlList is a Function +ok 993 — nodeListToArray is a Function # PASS test/httpsRedirect/httpsRedirect.test.js -ok 995 — httpsRedirect is a Function - -# PASS test/howManyTimes/howManyTimes.test.js - -ok 996 — howManyTimes is a Function - -# PASS test/createElement/createElement.test.js - -ok 997 — createElement is a Function - -# PASS test/insertAfter/insertAfter.test.js - -ok 998 — insertAfter is a Function - -# PASS test/triggerEvent/triggerEvent.test.js - -ok 999 — triggerEvent is a Function - -# PASS test/isTypedArray/isTypedArray.test.js - -ok 1000 — isTypedArray is a Function - -# PASS test/createEventHub/createEventHub.test.js - -ok 1001 — createEventHub is a Function - -# PASS test/currentURL/currentURL.test.js - -ok 1002 — currentURL is a Function - -# PASS test/removeVowels/removeVowels.test.js - -ok 1003 — removeVowels is a Function - -# PASS test/insertBefore/insertBefore.test.js - -ok 1004 — insertBefore is a Function +ok 994 — httpsRedirect is a Function # PASS test/mostPerformant/mostPerformant.test.js -ok 1005 — mostPerformant is a Function +ok 995 — mostPerformant is a Function # PASS test/copyToClipboard/copyToClipboard.test.js -ok 1006 — copyToClipboard is a Function +ok 996 — copyToClipboard is a Function -# PASS test/httpDelete/httpDelete.test.js +# PASS test/readFileLines/readFileLines.test.js -ok 1007 — httpDelete is a Function +ok 997 — readFileLines is a Function -# PASS test/hashBrowser/hashBrowser.test.js +# PASS test/createEventHub/createEventHub.test.js -ok 1008 — hashBrowser is a Function - -# PASS test/isArrayBuffer/isArrayBuffer.test.js - -ok 1009 — isArrayBuffer is a Function - -# PASS test/scrollToTop/scrollToTop.test.js - -ok 1010 — scrollToTop is a Function - -# PASS test/isWeakSet/isWeakSet.test.js - -ok 1011 — isWeakSet is a Function - -# PASS test/smoothScroll/smoothScroll.test.js - -ok 1012 — smoothScroll is a Function - -# PASS test/JSONToDate/JSONToDate.test.js - -ok 1013 — JSONToDate is a Function - -# PASS test/bottomVisible/bottomVisible.test.js - -ok 1014 — bottomVisible is a Function +ok 998 — createEventHub is a Function # PASS test/countVowels/countVowels.test.js -ok 1015 — countVowels is a Function +ok 999 — countVowels is a Function -# PASS test/JSONToFile/JSONToFile.test.js +# PASS test/isArrayBuffer/isArrayBuffer.test.js -ok 1016 — JSONToFile is a Function +ok 1000 — isArrayBuffer is a Function + +# PASS test/createElement/createElement.test.js + +ok 1001 — createElement is a Function + +# PASS test/triggerEvent/triggerEvent.test.js + +ok 1002 — triggerEvent is a Function + +# PASS test/hashBrowser/hashBrowser.test.js + +ok 1003 — hashBrowser is a Function + +# PASS test/bottomVisible/bottomVisible.test.js + +ok 1004 — bottomVisible is a Function + +# PASS test/httpDelete/httpDelete.test.js + +ok 1005 — httpDelete is a Function + +# PASS test/removeVowels/removeVowels.test.js + +ok 1006 — removeVowels is a Function + +# PASS test/smoothScroll/smoothScroll.test.js + +ok 1007 — smoothScroll is a Function + +# PASS test/isRegExp/isRegExp.test.js + +ok 1008 — isRegExp is a Function + +# PASS test/isTypedArray/isTypedArray.test.js + +ok 1009 — isTypedArray is a Function + +# PASS test/insertBefore/insertBefore.test.js + +ok 1010 — insertBefore is a Function + +# PASS test/insertAfter/insertAfter.test.js + +ok 1011 — insertAfter is a Function # PASS test/toggleClass/toggleClass.test.js -ok 1017 — toggleClass is a Function +ok 1012 — toggleClass is a Function # PASS test/isBrowser/isBrowser.test.js -ok 1018 — isBrowser is a Function - -# PASS test/isWeakMap/isWeakMap.test.js - -ok 1019 — isWeakMap is a Function +ok 1013 — isBrowser is a Function # PASS test/timeTaken/timeTaken.test.js -ok 1020 — timeTaken is a Function +ok 1014 — timeTaken is a Function + +# PASS test/isWeakMap/isWeakMap.test.js + +ok 1015 — isWeakMap is a Function + +# PASS test/isWeakSet/isWeakSet.test.js + +ok 1016 — isWeakSet is a Function + +# PASS test/JSONToFile/JSONToFile.test.js + +ok 1017 — JSONToFile is a Function + +# PASS test/howManyTimes/howManyTimes.test.js + +ok 1018 — howManyTimes is a Function + +# PASS test/scrollToTop/scrollToTop.test.js + +ok 1019 — scrollToTop is a Function + +# PASS test/isSimilar/isSimilar.test.js + +ok 1020 — isSimilar is a Function # PASS test/httpPost/httpPost.test.js ok 1021 — httpPost is a Function -# PASS test/runAsync/runAsync.test.js +# PASS test/getStyle/getStyle.test.js -ok 1022 — runAsync is a Function - -# PASS test/isSimilar/isSimilar.test.js - -ok 1023 — isSimilar is a Function - -# PASS test/toHash/toHash.test.js - -ok 1024 — toHash is a Function - -# PASS test/hasClass/hasClass.test.js - -ok 1025 — hasClass is a Function - -# PASS test/isRegExp/isRegExp.test.js - -ok 1026 — isRegExp is a Function - -# PASS test/httpGet/httpGet.test.js - -ok 1027 — httpGet is a Function +ok 1022 — getStyle is a Function # PASS test/hasFlags/hasFlags.test.js -ok 1028 — hasFlags is a Function - -# PASS test/counter/counter.test.js - -ok 1029 — counter is a Function +ok 1023 — hasFlags is a Function # PASS test/redirect/redirect.test.js -ok 1030 — redirect is a Function +ok 1024 — redirect is a Function -# PASS test/isMap/isMap.test.js +# PASS test/currentURL/currentURL.test.js -ok 1031 — isMap is a Function +ok 1025 — currentURL is a Function + +# PASS test/runAsync/runAsync.test.js + +ok 1026 — runAsync is a Function + +# PASS test/hasClass/hasClass.test.js + +ok 1027 — hasClass is a Function + +# PASS test/JSONToDate/JSONToDate.test.js + +ok 1028 — JSONToDate is a Function + +# PASS test/solveRPN/solveRPN.test.js + +ok 1029 — solveRPN is a Function # PASS test/setStyle/setStyle.test.js -ok 1032 — setStyle is a Function - -# PASS test/getStyle/getStyle.test.js - -ok 1033 — getStyle is a Function +ok 1030 — setStyle is a Function # PASS test/throttle/throttle.test.js -ok 1034 — throttle is a Function +ok 1031 — throttle is a Function + +# PASS test/factors/factors.test.js + +ok 1032 — factors is a Function + +# PASS test/colorize/colorize.test.js + +ok 1033 — colorize is a Function + +# PASS test/counter/counter.test.js + +ok 1034 — counter is a Function # PASS test/prefix/prefix.test.js ok 1035 — prefix is a Function -# PASS test/solveRPN/solveRPN.test.js +# PASS test/defer/defer.test.js -ok 1036 — solveRPN is a Function +ok 1036 — defer is a Function -# PASS test/httpPut/httpPut.test.js +# PASS test/httpGet/httpGet.test.js -ok 1037 — httpPut is a Function +ok 1037 — httpGet is a Function -# PASS test/factors/factors.test.js +# PASS test/isSet/isSet.test.js -ok 1038 — factors is a Function +ok 1038 — isSet is a Function -# PASS test/sumBy/sumBy.test.js +# PASS test/once/once.test.js -ok 1039 — sumBy is a Function - -# PASS test/colorize/colorize.test.js - -ok 1040 — colorize is a Function +ok 1039 — once is a Function # PASS test/pipeLog/pipeLog.test.js -ok 1041 — pipeLog is a Function +ok 1040 — pipeLog is a Function + +# PASS test/httpPut/httpPut.test.js + +ok 1041 — httpPut is a Function # PASS test/zipWith/zipWith.test.js ok 1042 — zipWith is a Function +# PASS test/show/show.test.js + +ok 1043 — show is a Function + +# PASS test/toHash/toHash.test.js + +ok 1044 — toHash is a Function + # PASS test/nest/nest.test.js -ok 1043 — nest is a Function +ok 1045 — nest is a Function -# PASS test/defer/defer.test.js +# PASS test/isMap/isMap.test.js -ok 1044 — defer is a Function +ok 1046 — isMap is a Function + +# PASS test/sumBy/sumBy.test.js + +ok 1047 — sumBy is a Function # PASS test/hide/hide.test.js -ok 1045 — hide is a Function - -# PASS test/show/show.test.js - -ok 1046 — show is a Function - -# PASS test/isSet/isSet.test.js - -ok 1047 — isSet is a Function - -# PASS test/once/once.test.js - -ok 1048 — once is a Function - -# PASS test/hz/hz.test.js - -ok 1049 — hz is a Function +ok 1048 — hide is a Function # PASS test/on/on.test.js -ok 1050 — on is a Function +ok 1049 — on is a Function + +# PASS test/hz/hz.test.js + +ok 1050 — hz is a Function # PASS test/off/off.test.js @@ -2102,7 +2102,7 @@ ok 1051 — off is a Function # Test Suites: 100% ██████████, 348 passed, 348 total # Tests: 100% ██████████, 1051 passed, 1051 total -# Time: 48.655s +# Time: 48.580s # Ran all test suites.