Class DirectSelectionTest
java.lang.Object
topics.sorting.selection.DirectSelectionTest
Validation Suite for Direct Selection Sort
Verifies the absolute minimum selection logic and in-place sorting capabilities of the Direct Selection algorithm using JUnit 5.
- Author:
- vicegd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static voidsetup()(package private) voidScenario: Larger array with wider numerical variance.(package private) voidScenario: Small array with mixed inversions.
-
Constructor Details
-
DirectSelectionTest
DirectSelectionTest()
-
-
Method Details
-
setup
@BeforeAll static void setup() -
shouldSortSmallMixedSequence
@Test void shouldSortSmallMixedSequence()Scenario: Small array with mixed inversions.
-
shouldSortLargerVariedSequence
@Test void shouldSortLargerVariedSequence()Scenario: Larger array with wider numerical variance.
-