Class HeapsortTest
java.lang.Object
topics.sorting.heapsort.HeapsortTest
Validation Suite for Heapsort
Verifies both the structural heap-building logic and the subsequent extraction phase to ensure absolute array ordering.
- 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
-
HeapsortTest
HeapsortTest()
-
-
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.
-