Class BinaryInsertionTest
java.lang.Object
topics.sorting.insertion.BinaryInsertionTest
Validation Suite for Binary Insertion Sort
Verifies that the combination of binary search targeting and array shifting correctly sorts the sequence while maintaining stability.
- 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
-
BinaryInsertionTest
BinaryInsertionTest()
-
-
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.
-