mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-09-20 07:43:04 +08:00
Tests for GnomeSort algorithm
This commit is contained in:
parent
5b7fbc1b0e
commit
abdf541b8b
@ -0,0 +1,14 @@
|
||||
import GnomeSort from '../GnomeSort';
|
||||
import {
|
||||
SortTester,
|
||||
} from '../../SortTester';
|
||||
|
||||
describe('GnomeSort', () => {
|
||||
it('should sort array', () => {
|
||||
SortTester.testSort(GnomeSort);
|
||||
});
|
||||
|
||||
it('should sort negative numbers', () => {
|
||||
SortTester.testNegativeNumbersSort(GnomeSort);
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user