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