Add bifurcate, bifurcateBy

This commit is contained in:
Angelos Chalaris
2018-02-14 12:13:07 +02:00
parent c6db12bdfc
commit de77807dc9
8 changed files with 90 additions and 4 deletions

View File

@ -1,4 +1,4 @@
Test log for: Wed Feb 14 2018 11:56:24 GMT+0200 (GTB Standard Time)
Test log for: Wed Feb 14 2018 12:12:48 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
@ -53,6 +53,16 @@ Test log for: Wed Feb 14 2018 11:56:24 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
@ -1803,15 +1813,15 @@ Test log for: Wed Feb 14 2018 11:56:24 GMT+0200 (GTB Standard Time)
Testing zipWith
√ zipWith is a Function
√ Runs the function provided
√ Sends a GET request
√ Runs the function provided
√ Runs promises in series
√ Sends a POST request
√ Works with multiple promises
total: 905
passing: 905
total: 909
passing: 909
duration: 2.4s