mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-07-06 17:44:08 +08:00
Add merge sort.
This commit is contained in:
@ -22,9 +22,9 @@ describe('MergeSort', () => {
|
|||||||
SortTester.testSortWithCustomComparator(BubbleSort);
|
SortTester.testSortWithCustomComparator(BubbleSort);
|
||||||
});
|
});
|
||||||
|
|
||||||
// it('should do stable sorting', () => {
|
it('should do stable sorting', () => {
|
||||||
// SortTester.testSortStability(BubbleSort);
|
SortTester.testSortStability(BubbleSort);
|
||||||
// });
|
});
|
||||||
|
|
||||||
it('should visit EQUAL array element specified number of times', () => {
|
it('should visit EQUAL array element specified number of times', () => {
|
||||||
SortTester.testAlgorithmTimeComplexity(
|
SortTester.testAlgorithmTimeComplexity(
|
||||||
|
Reference in New Issue
Block a user