Skip to content

Commit 92027d0

Browse files
Aliaksei BychykAliaksei Bychyk
authored andcommitted
improve getPositivesCount test
1 parent fc0bfff commit 92027d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/04-arrays-tests.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,9 @@ describe('04-arrays-tasks', () => {
483483
}, {
484484
arr: [1, '2'],
485485
expected: 1
486+
}, {
487+
arr: [1, '3', '-4', 0.5, -0.3],
488+
expected: 2
486489
}
487490
].forEach(data => {
488491
const actual = getPositivesCount(data.arr);

0 commit comments

Comments
 (0)