refactor: cleanup StoogeSort (#5283)

* refactor: cleanup StoogeSort

* refactor: update DIRECTORY.md for StoogeSortTest

---------

Co-authored-by: Alex Klymenko <alx@alx.com>
This commit is contained in:
Alex Klymenko
2024-07-20 21:28:06 +02:00
committed by GitHub
parent 94032148ca
commit 97d416e64e
3 changed files with 19 additions and 23 deletions

View File

@ -0,0 +1,12 @@
package com.thealgorithms.sorts;
public class StoogeSortTest extends SortingAlgorithmTest {
protected int getGeneratedArraySize() {
return 1000;
}
@Override
SortAlgorithm getSortAlgorithm() {
return new StoogeSort();
}
}