Tests for GnomeSort algorithm

This commit is contained in:
edumoreira1506 2019-09-10 13:58:08 -03:00
parent 5b7fbc1b0e
commit abdf541b8b

View File

@ -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);
});
});