Skip to content

Commit 21ce971

Browse files
committed
Add merge sort.
1 parent ed2abde commit 21ce971

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/algorithms/sorting/merge-sort/__test__/MergeSort.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ describe('MergeSort', () => {
2222
SortTester.testSortWithCustomComparator(BubbleSort);
2323
});
2424

25-
// it('should do stable sorting', () => {
26-
// SortTester.testSortStability(BubbleSort);
27-
// });
25+
it('should do stable sorting', () => {
26+
SortTester.testSortStability(BubbleSort);
27+
});
2828

2929
it('should visit EQUAL array element specified number of times', () => {
3030
SortTester.testAlgorithmTimeComplexity(

0 commit comments

Comments
 (0)