From 21ce9719d9fc53e384a94f6fde19e3350dd8f89c Mon Sep 17 00:00:00 2001 From: Oleksii Trekhleb Date: Sat, 14 Apr 2018 12:09:25 +0300 Subject: [PATCH] Add merge sort. --- .../sorting/merge-sort/__test__/MergeSort.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/algorithms/sorting/merge-sort/__test__/MergeSort.test.js b/src/algorithms/sorting/merge-sort/__test__/MergeSort.test.js index 4ae380be..02c67a64 100644 --- a/src/algorithms/sorting/merge-sort/__test__/MergeSort.test.js +++ b/src/algorithms/sorting/merge-sort/__test__/MergeSort.test.js @@ -22,9 +22,9 @@ describe('MergeSort', () => { SortTester.testSortWithCustomComparator(BubbleSort); }); - // it('should do stable sorting', () => { - // SortTester.testSortStability(BubbleSort); - // }); + it('should do stable sorting', () => { + SortTester.testSortStability(BubbleSort); + }); it('should visit EQUAL array element specified number of times', () => { SortTester.testAlgorithmTimeComplexity(