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