Merge branch 'master' into any-all-none

This commit is contained in:
Angelos Chalaris
2018-02-14 13:21:33 +02:00
committed by GitHub
26 changed files with 543 additions and 5 deletions

View File

@ -1,9 +1,11 @@
Test log for: Wed Feb 14 2018 11:45:44 GMT+0200 (GTB Standard Time)
Test log for: Wed Feb 14 2018 12:46:59 GMT+0200 (GTB Standard Time)
> 30-seconds-of-code@0.0.1 test G:\My Files\git Repositories\30-seconds-of-code
> tape test/**/*.test.js | tap-spec
Testing all
√ all is a Function
@ -39,6 +41,21 @@ Test log for: Wed Feb 14 2018 11:45:44 GMT+0200 (GTB Standard Time)
√ anyBy is a Function
√ Returns true with predicate function
√ Returns false with a predicate function
Testing anagrams
√ anagrams is a Function
√ Generates all anagrams of a string
√ Works for single-letter strings
√ Works for empty strings
Testing approximatelyEqual
√ approximatelyEqual is a Function
√ Works for PI / 2
√ Works for 0.1 + 0.2 === 0.3
√ Works for exactly equal values
√ Works for a custom epsilon
Testing arrayToHtmlList
@ -82,6 +99,16 @@ Test log for: Wed Feb 14 2018 11:45:44 GMT+0200 (GTB Standard Time)
√ Produces the right result with a function
√ Produces the right result with a property name
Testing bifurcate
√ bifurcate is a Function
√ Splits the collection into two groups
Testing bifurcateBy
√ bifurcateBy is a Function
√ Splits the collection into two groups
Testing binarySearch
√ binarySearch is a Function
@ -105,6 +132,15 @@ Test log for: Wed Feb 14 2018 11:45:44 GMT+0200 (GTB Standard Time)
√ bindKey is a Function
√ Binds function to an object context
Testing binomialCoefficient
√ binomialCoefficient is a Function
√ Returns the appropriate value
√ Returns the appropriate value
√ Returns the appropriate value
√ Returns NaN
√ Returns NaN
Testing bottomVisible
√ bottomVisible is a Function
@ -297,6 +333,11 @@ Test log for: Wed Feb 14 2018 11:45:44 GMT+0200 (GTB Standard Time)
√ defer is a Function
Testing degreesToRads
√ degreesToRads is a Function
√ Returns the appropriate value
Testing delay
√ delay is a Function
@ -1252,6 +1293,11 @@ Test log for: Wed Feb 14 2018 11:45:44 GMT+0200 (GTB Standard Time)
√ quickSort(undefined) throws an error
√ quickSort([11, 1, 324, 23232, -1, 53, 2, 524, 32, 13, 156, 133, 62, 12, 4]) takes less than 2s to run
Testing radsToDegrees
√ radsToDegrees is a Function
√ Returns the appropriate value
Testing randomHexColorCode
√ randomHexColorCode is a Function
@ -1655,6 +1701,13 @@ Test log for: Wed Feb 14 2018 11:45:44 GMT+0200 (GTB Standard Time)
√ unary is a Function
√ Discards arguments after the first one
Testing uncurry
√ uncurry is a Function
√ Works without a provided value for n
√ Works without n = 2
√ Works withoutn = 3
Testing unescapeHTML
√ unescapeHTML is a Function
@ -1839,6 +1892,8 @@ Test log for: Wed Feb 14 2018 11:45:44 GMT+0200 (GTB Standard Time)
√ zipWith is a Function
√ Runs the function provided
√ Sends a GET request
√ Sends a GET request
√ Runs the function provided
√ Runs promises in series
√ Sends a POST request
√ Works with multiple promises
@ -1846,6 +1901,6 @@ Test log for: Wed Feb 14 2018 11:45:44 GMT+0200 (GTB Standard Time)
total: 924
passing: 924
duration: 2.4s
duration: 2.5s