Class DirectInsertionTest
java.lang.Object
topics.sorting.insertion.DirectInsertionTest
Validation Suite for Direct Insertion Sort
Verifies the shifting logic, structural integrity, and in-place stability of the Direct Insertion Sort 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
-
DirectInsertionTest
DirectInsertionTest()
-
-
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.
-