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