mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-07-07 01:44:52 +08:00
Add merge sort.
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user