Tests for averageBy, maxBy, minBy

Fixed examples in minBy
This commit is contained in:
Angelos Chalaris
2018-01-24 17:38:08 +02:00
parent 96103be72d
commit a9d67950d9
6 changed files with 22 additions and 10 deletions

View File

@ -1,4 +1,4 @@
Test log for: Wed Jan 24 2018 17:33:18 GMT+0200 (GTB Standard Time)
Test log for: Wed Jan 24 2018 17:37:28 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
@ -41,6 +41,8 @@ Test log for: Wed Jan 24 2018 17:33:18 GMT+0200 (GTB Standard Time)
Testing averageBy
√ averageBy is a Function
√ Produces the right result with a function
√ Produces the right result with a property name
Testing binarySearch
@ -837,6 +839,8 @@ Test log for: Wed Jan 24 2018 17:33:18 GMT+0200 (GTB Standard Time)
Testing maxBy
√ maxBy is a Function
√ Produces the right result with a function
√ Produces the right result with a property name
Testing maxN
@ -861,6 +865,8 @@ Test log for: Wed Jan 24 2018 17:33:18 GMT+0200 (GTB Standard Time)
Testing minBy
√ minBy is a Function
√ Produces the right result with a function
√ Produces the right result with a property name
Testing minN
@ -1457,8 +1463,8 @@ Test log for: Wed Jan 24 2018 17:33:18 GMT+0200 (GTB Standard Time)
√ zipWith is a Function
total: 621
passing: 621
duration: 417ms
total: 627
passing: 627
duration: 419ms