Skip to content

Commit

Permalink
Fix mergeSort tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yangshun committed Oct 10, 2017
1 parent 50df865 commit 4038c4f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions utilities/javascript/mergeSort.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ console.log(deepEqual(
[1, 2, 2, 3, 4, 7],
));
console.log(deepEqual(
mergeSort([7, 2, 4, 3, 1, 2]),
[1, 2, 2, 3, 4, 7],
mergeSort([1, 2, 3, 4, 5, 0]),
[0, 1, 2, 3, 4, 5],
));
console.log(deepEqual(
mergeSort([10, 9, 8, 7, 6, 5, 4, 3, 2, 1]),
Expand All @@ -58,7 +58,3 @@ console.log(deepEqual(
mergeSort([98322, 3242, 876, -234, 34, 12331]),
[-234, 34, 876, 3242, 12331, 98322],
));
console.log(deepEqual(
mergeSort([1, 2, 3, 4, 5, 0]),
[0, 1, 2, 3, 4, 5],
));

0 comments on commit 4038c4f

Please sign in to comment.