mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-12-08 19:06:00 +00:00
Add merge sort.
This commit is contained in:
parent
ed2abde623
commit
21ce9719d9
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user